Commit Graph

998 Commits

Author SHA1 Message Date
Jesse Haka 44183aef7f validate cluster twice 2019-12-12 08:48:15 +02:00
John Gardiner Myers 2e36124f77 Expose ValidateTickDuration for use by unit tests 2019-12-09 18:43:20 -08:00
Ciprian Hacman dfee0547c5 Make distro detection less strict 2019-12-09 11:10:54 +02:00
Ciprian Hacman f21df7cd6f Fix mounting Calico "flexvol-driver-host" in CoreOS 2019-12-08 16:43:29 +02:00
Kubernetes Prow Robot 7ec1a8f18c
Merge pull request #8053 from rifelpet/integration-test-nat-cf
Update integration test to cover CloudFormation output of NAT gateways
2019-12-06 19:53:08 -08:00
Peter Rifel bb3140deba Update integration test to cover CloudFormation output of NAT gateways 2019-12-06 14:04:35 -06:00
Kashif Saadat fcf6f0098c Canal Typha spec and apimachinery 2019-12-06 15:36:48 +00:00
Kubernetes Prow Robot e11f394f05
Merge pull request #8002 from srikiz/DO-7956-FixEtcdNameLogic
[Issue-7956] - [Digital Ocean] Minor fix to have proper indexing for digital ocean regions
2019-12-05 07:42:32 -08:00
Kubernetes Prow Robot 094fe2a645
Merge pull request #7925 from johngmyers/optimize-validation
Pass the cloud object to validator from caller
2019-12-03 15:40:58 -08:00
Srikanth 9542b20bea Fix formatting 2019-11-26 00:04:16 +05:30
Kubernetes Prow Robot 2c446c6c34
Merge pull request #7997 from joshbranham/patch-1
cleanup whitespace in root.go
2019-11-25 08:25:33 -08:00
Srikanth 143bebc2eb Minor fix to have proper indexing for digital ocean regions that end with numbers other than one like sfo2 2019-11-25 08:23:14 +05:30
Srikanth 7467d1a6a4 Remove ununsed code 2019-11-24 12:56:46 +05:30
Srikanth 7b8eb2bfee Initial work for kops-controller to support digital ocean 2019-11-24 12:56:46 +05:30
Srikanth 90f3ebee57 Initial work 2019-11-24 12:56:23 +05:30
Josh Branham 017e1df085
clear whitespace 2019-11-23 18:37:27 -05:00
Peter Rifel 3dc06afa12 Fix goimports errors
It turns out we werent running verify-goimports in our CI jobs.

While we work to get that enabled, we can at least unblock the releases by doing a one-time fix of the failing goimports
2019-11-19 05:05:02 -08:00
John Gardiner Myers bd4e1277ae Pass the cloud object to validator from caller 2019-11-13 22:19:55 -08:00
Justin Santa Barbara 5a0b199119
Merge branch 'master' into fix-roll-validation 2019-11-07 20:54:10 -05:00
Kubernetes Prow Robot e29a04e5af
Merge pull request #7854 from FayerZhang/master
fix golint failures
2019-11-07 11:37:43 -08:00
John Gardiner Myers 63e0c5e726 Add tests for cluster validation during rolling update 2019-11-04 16:26:39 -08:00
feifei.zhang@huawei.com 4b49412105 fix golint failures 2019-10-31 20:22:37 +08:00
Michael Wagner ad85ca0681 docs(addons): fix broken links 2019-10-29 15:51:49 +01:00
Jesse Haka 5e3b94ae17 use existing network and subnet 2019-10-27 08:21:25 +02:00
Justin SB c210eb8d15
Move kops-controller to daemonset
We also scale-down the old Deployment to have 0 replicas, to be sure
to stop it.

We can remove it later when we have proper pruning here.
2019-10-14 10:44:49 -04:00
Justin SB d3bad10aa9
Move kops-controller to use a yaml configuration file
This is more in keeping with componentconfig, and lets us add more
options easily in future.
2019-10-13 07:27:52 -07:00
Kubernetes Prow Robot ff1d94c7cb
Merge pull request #7692 from zetaab/kops_ctrl_openstack
Kops controller support for OpenStack
2019-10-11 09:13:41 -07:00
Thomas Jackson 85db3dce27 make apimachinery 2019-10-10 13:13:38 -07:00
Justin SB e5d710616a
Add test for float args
We likely need to change from floats to resource.Quantity, so we need
to estabilsh more test coverage before we can safely make the change.
2019-09-29 13:14:21 -04:00
Justin SB 49258971fc
Publish kops-controller container dump to S3/GCS
We then `docker load` it when using a KOPS_BASE_URL.

This should simplify the development process (particularly once we
also do this for dns-controller; at that point we won't need a
registry at all).

This should also fix the problems in CI, where the kops-controller
image isn't available.  We've been getting away with testing with the
previous version for dns-controller, which changes pretty slowly.  But
that's not a good idea for kops-controller, which is likely to be more
critical and evolve more rapidly.
2019-09-28 22:43:46 -04:00
Jesse Haka ed8dbc41d0 kops controller support for openstack 2019-09-28 10:06:39 +03:00
Justin SB cdaa7a3a48
Fix boilerplate: headers & packages 2019-09-25 12:48:14 -04:00
Justin SB 3ccc84dcf8
kops-controller container image
Based on distroless for security / stability
2019-09-25 12:04:36 -04:00
Justin SB 728e582360
Fill out kops controller functionality
k8s 1.16 requires that we move label setting away from the kubelet, to
a central controller.  kops-controller is that controller.
2019-09-25 12:04:34 -04:00
Justin SB 0fa65236aa
Scaffolded kops-controller with kubebuilder 2 2019-09-25 10:45:59 -04:00
Kubernetes Prow Robot 927094fcda
Merge pull request #7371 from justinsb/kops_validate_now_supports_wait
Add --wait argument to kops validate
2019-09-19 11:57:00 -07:00
Pascal Bourdier 0102567457 add cilium in error message
add cilium in error message like other networks
2019-09-16 14:27:17 +02:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB 96aa37d03d
Remove unused ClientGetter from Drain code
This is no longer needed now we are using the k8s drain code.
2019-09-03 07:04:37 -07:00
Justin SB 97c83b677b
Replace resource.FilenameOptions with []string
It was hiding what was actually going on here, which just a slice.
2019-08-30 21:34:22 -07:00
Jesse Haka 59b0dd5aa5 move OpenStack from alpha to beta 2019-08-29 22:55:36 +03:00
Justin SB 17186ff7ba
Generated vendor & bazel from `make gomod`
Automatically generated vendor & BUILD.bazel files
2019-08-25 16:00:41 -04:00
Justin SB b1f8f84306
Code changes for 1.15 2019-08-25 16:00:39 -04:00
Justin SB b7dd6bec66
Remove kops-server
We will replace with CRDs
2019-08-25 16:00:39 -04:00
Justin SB e28b4192ab
cloudformation tests: use standard file comparison
This allows us to auto-fix the expected output also.
2019-08-22 09:14:49 -04:00
xichengliudui 931ebe2bc8 fix Typo 'the the' -> 'the' 2019-08-20 08:47:17 -04:00
Justin SB 6a6bd7d8a0
Add --wait argument to kops validate
With this argument, kops validate will poll until the timeout expires,
waiting for readiness.  On readiness or on timer expiration, it exits
as if wait was not present.
2019-08-16 09:50:29 -04:00
Kashif Saadat 4514215656 Set and mount the correct volume plugin dir based on OS 2019-08-01 17:54:08 +01:00
Austin Moore 29b46624e2
Fix test after rebase 2019-07-26 12:28:42 -04:00
Austin Moore 66a8d1de90
Add integration test for cross-zone-load-balancing 2019-07-26 12:21:43 -04:00