Ole Markus With
1d922af364
Pass cloud into populate cluster
2020-09-24 07:22:13 +02:00
Kubernetes Prow Robot
d97eb510dc
Merge pull request #9973 from olemarkus/cleanup-cloud
...
Build cloud outside of PerformAssignments
2020-09-22 23:42:08 -07:00
Ole Markus With
7bc17f4b1f
Build cloud outside of PerformAssignments
...
We tend to build cloud, call some method, and then build cloud over
again. It would be easier to just pass the first one along.
Passing along cloud would also make it easier to mock cloud.
2020-09-23 07:54:28 +02:00
Ole Markus With
6797998ac1
Consolidate all buildMinimalClusters into a generic test cluster builder
2020-09-19 19:55:19 +02:00
Peter Rifel
7d9f0a06cf
Update API slice fields to not use pointers
...
This is causing problems with the Kubernetes 1.19 code-generator.
A nil entry in these slices wouldn't be valid anyways, so this should have no impact.
2020-08-24 07:46:38 -05:00
John Gardiner Myers
9693da66b3
Remove support for legacy IAM permissions
2020-07-17 20:08:17 -07:00
Ciprian Hacman
9c13e7f32f
Update tests
2020-06-09 19:04:31 +03:00
John Gardiner Myers
8a6d29cd40
Remove support for reading legacy-format keypairs
2020-05-20 13:28:13 -07:00
Martin Tomes
462ca78f2a
Import package aliases modified
...
Modified api -> kopsapi aliases of imports of k8s.io/kops/pkg/apis/kops
2020-04-17 16:55:08 +02:00
John Gardiner Myers
8844b97fe3
Fix field names in api validation
2020-02-15 14:52:27 -08:00
John Gardiner Myers
83bdb3ef88
Remove code for unsupported k8s versions from pkg/model/components
2020-01-12 16:05:00 -08:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Taehyun Kim
b606c8fa86
add insecure-registries flag
2019-03-06 11:48:40 +09:00
Justin Santa Barbara
b68f58d746
Change NewAssetBuilder to take a kops.Cluseter
2018-02-22 21:42:40 -08:00
Justin Santa Barbara
5cc5a936f9
Force nodeup to use the bundle
...
We disable fallback entirely for nodeup, so we can still share code, but
won't accidentally be using the wrong code path.
2017-12-21 16:06:11 -05:00
chrislovecnm
7057aaf1bb
Enabling the file assets
...
File assets and the SHA files are uploaded to the new location. Files
when are users uses s3 are upload public read only. The copyfile task
uses only the existing SHA value.
This PR include major refactoring of the use of URLs. Strings are no
longer categnated, but converted into a URL struct and path.Join is
utlilized.
A new values.go file is included so that we can start refactoring more
code out of the "fi" package.
A
2017-12-17 15:26:57 -07:00
Justin Santa Barbara
e08dfc6831
Fix tests: create helper function for PopulateClusterSpec
2017-09-24 00:09:09 -04:00
Kashif Saadat
2ffc790c66
Added validation to Networking Canal spec.
2017-08-26 12:53:44 +01:00
chrislovecnm
2afdb5ab2e
mapping-and-uploading-kube-assets
2017-08-21 15:16:56 -06:00
chrislovecnm
ee17e6567c
starting work on file assets builder
2017-08-18 13:04:12 -06:00
Justin Santa Barbara
0115ece62d
Remap pause image through our AssetBuilder
2017-07-22 00:35:37 -04:00
Hanfei Shen
fee673592c
add registryMirrors
2017-07-13 10:26:32 +08:00
Justin Santa Barbara
1e9c2cb2d8
Multiple log-opt, log-driver options for docker
...
Also only change for 1.6
2017-03-28 00:53:26 -04:00
Justin Santa Barbara
1a74d9d759
Merge pull request #2095 from faraazkhan/master
...
Use built in log rotation capabilities of the docker daemon
2017-03-27 21:49:41 -04:00
Faraaz Khan
256640d3d4
enable log rotation using built in docker option
2017-03-16 13:09:48 -05:00
Justin Santa Barbara
cb4641fea3
Code updates
2017-03-16 02:40:50 -04:00
Justin Santa Barbara
7e232f14d8
Allow specification of multiple CIDRs to create cluster
...
Fix #1641
2017-01-28 15:58:50 -05:00
Kris Nova
084758917b
Merge pull request #1503 from justinsb/mixed_networking
...
Turn off validation that master & nodes have same topology
2017-01-21 11:37:39 -07:00
Justin Santa Barbara
bb46c3ca32
Turn off validation that master & nodes have same topology
...
First step towards supporting mixed-modes.
2017-01-19 23:00:24 -05:00
chrislovecnm
48a4cd1b91
pr review updates
2017-01-18 12:58:30 -08:00
chrislovecnm
3cabfb25d0
Updates to add new flag used by Kubernetes Controller manager: attach-detach-reconcile-sync-period
2017-01-18 12:29:29 -08:00
Justin Santa Barbara
09cb9b654c
Change int to int32 in API
...
We shouldn't be using the variable-sized int in the API
2017-01-15 18:23:44 -05:00
Justin Santa Barbara
09e834849d
Specify storage-backend=etcd2 explicitly
...
The default may change to etcd3, but we want to stick with etcd2 until
upgrade has been fully vetted.
2017-01-04 11:27:31 -05:00
Justin Santa Barbara
846b7601db
Configure DockerVersion in Docker Spec
...
And automatically choose 1.12.3 for k8s >= 1.5, 1.11.2 for < 1.5
Fix #849
2016-12-20 00:34:40 -05:00
Justin Santa Barbara
8ce09c65e9
Fixes per code review
2016-12-19 01:18:28 -05:00
Justin Santa Barbara
270f429c18
Remove overly strict tests
2016-12-19 00:23:05 -05:00
Justin Santa Barbara
a03ea54365
Rename SubnetName -> Name
...
No schema impact
2016-12-19 00:01:38 -05:00
Justin Santa Barbara
1ef2c367c1
Reintroduce subnet assignemnt logic
2016-12-18 21:56:57 -05:00
Justin Santa Barbara
fed68310fa
Schema v1alpha2
...
* Zones are now subnets
* Utility subnet is no longer part of Zone
* Bastion InstanceGroup type added instead
* Etcd clusters defined in terms of InstanceGroups, not zones
* AdminAccess split into SSHAccess & APIAccess
* Dropped unused Multizone flag
2016-12-18 21:56:57 -05:00
Justin Santa Barbara
c01c2af656
Mark ObjectMeta as a named field
...
This will work around some apimachinery bugs
(https://github.com/kubernetes/client-go/issues/8 )
2016-12-14 22:26:57 -05:00
Justin Santa Barbara
96243ee442
Specify --anonymous-auth=false for k8s 1.5
...
We'll expose this option as part of RBAC, but in the meantime explicitly
specify the existing behaviour.
2016-12-13 01:44:28 -05:00
Justin Santa Barbara
d1ea4f969a
Make sure we set APIServerCount
...
It looks like it got lost in a refactor. Add a unit test, and move
initialization to code (and have the code self-check as well).
Also we can now have a fairly long code comment about the reasons why
this is such a mess...
Fix #371
2016-12-05 02:30:53 -05:00
alok87
66d2e4791d
IdleTimeout configurable from editcluster
2016-12-04 16:35:39 +05:30
alok87
d4eccb2688
Made bastion as part of TopologySpec
2016-12-01 09:56:45 +05:30
alok87
a413ea5ac3
Merge remote-tracking branch 'kopsrepo/master' into bastion_improvements
...
* kopsrepo/master:
gcs-upload: Use a no-clobber copy instead
gcs-upload: Fix cache-control on other files as well
changes from code review
doc updates
unit tests with fakes
it is working in alpha
working on the start of validate
Starting work on node lookup and validation
starting porting node code
Fix retries for AutoScalingGroup pending delete
Apply gofmt to pkg directory
Avoid tests hitting kubernetes stable.txt HTTP file
Fix printing of max size on instance group
Disable kubelet from starting until after volume mounts
Fix Cluster parsing error message
bumping stable channel to k8s 1.4.6
support more zones(cn-north-1a/b) for cloud provider guess
2016-11-30 07:58:41 +05:30
Justin Santa Barbara
4901573a0c
Avoid tests hitting kubernetes stable.txt HTTP file
...
Fix #949
2016-11-28 02:09:04 -05:00
alok87
edf22f3797
Bastion DNS as an option and not by default
2016-11-23 12:40:45 +05:30
alok87
6b17c27572
Bastion Improvements
2016-11-23 12:37:42 +05:30
alok87
6206bc711e
Separate configuration for bastion
2016-11-23 12:35:10 +05:30
Justin Santa Barbara
933506bdbb
Apply gofmt
2016-11-13 21:06:55 -05:00