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
Austin Moore
938dc11a16
Expose --lifecycle-overrides flag as an env var called KOPS_LIFECYCLE_OVERRIDES
2019-07-26 12:21:42 -04:00
Kubernetes Prow Robot
0e27206973
Merge pull request #7290 from justinsb/rationalize_golden_output_comparison
...
Rationalize golden-output comparison
2019-07-23 00:20:55 -07:00
Kubernetes Prow Robot
cdd3496c8a
Merge pull request #6229 from justinsb/gce_ipalias
...
GCE: support ipalias networking mode, named "gce"
2019-07-22 06:26:51 -07:00
Justin SB
512378b335
Rationalize golden-output comparison
...
Create a single helper function: AssertMatchesFile
Also a few output files that weren't consistent.
2019-07-21 23:08:48 -04:00
Justin SB
28648207b3
Replace use of cmdutil IsFilenameSliceEmpty
...
The function was trivial, and it is changed in a later k8s version.
2019-07-19 09:35:52 -04:00
Justin SB
62f7c26f98
Support "gce" networking mode, which uses ip aliases
2019-07-19 07:54:13 -04:00
Jesse Haka
ddaa0dd502
Possibility to use openstack without lbaas
2019-06-24 08:56:34 +03:00
Peter Rifel
adef332fe3
Add integration test for mixed instances / launch templates
2019-06-07 14:29:34 -07:00
Kubernetes Prow Robot
81c42c549a
Merge pull request #6747 from justinsb/faster_roll
...
Speed up rolling-update - longer timeout on validation, less scheduled holds
2019-05-20 06:09:15 -07:00
Justin SB
71ff24be2d
Support using kops CLI with CRDs
...
Not terribly useful yet, as we still need an S3 state store (or
comparable), but getting closer!
2019-05-16 15:48:03 -04:00
Justin SB
9df2e4bbfb
Speed up rolling-update - longer timeout on validation, less scheduled holds
...
We reduce the amount of time we wait on a purely scheduled basis
during a rolling-update, and instead increase the timeout on the
validation.
This will be a behavioural change - particularly for `--cloudonly`
mode, but that mode seems more useful when things are going wrong
anyway, when people will likely set _even lower_ timeouts.
2019-05-16 03:37:35 -07:00
Justin SB
ba9a4afc43
apigroup -> kops.k8s.io: Tests & supporting changes
...
Autogenerated code, docs & test changes
Also a new test for the older "kops" apiGroup, to make sure that
continues to work.
2019-05-06 22:26:29 -04:00
Justin SB
044395c588
Call klog.InitFlags to enable logging
2019-05-06 13:00:31 -04:00
Justin SB
76d03b3f71
Generated files: glog -> klog
2019-05-06 12:56:03 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Justin SB
78ebe93f9f
Update kubernetes dependencies to 1.13.5
...
Notable changes:
* openapi-gen moved to k8s.io/kube-openapi/cmd/openapi-gen
* templates moved to k8s.io/kubernetes/pkg/kubectl/util/templates
2019-05-06 09:58:37 -04:00
Rodrigo Menezes
4b1e92617a
Add terraform support for additional CIDR blocks now that it has support.
2019-03-28 00:47:08 -07:00
Kubernetes Prow Robot
09e5cad1cb
Merge pull request #5955 from adamyy/export_kubecfg_add_kubeconfig_option
...
Add --kubeconfig flag to `kops export kubecfg`
2019-03-15 10:38:56 -07:00
Gennady Trafimenkov
acf9c9f016
Update bazel configuration
2019-03-03 16:11:33 +03:00
Gennady Trafimenkov
15bd566746
Correcly handle CRLF in the manifest
...
kops replace/create/delete now correctly handle crlf in the manifest.
This fixes issue #6532
2019-03-03 14:33:49 +03:00
Jesse Haka
ae3ad36a28
add router subnet specify option
2019-02-27 14:29:30 +02:00
Jesse Haka
ded99c8ab1
specify subnet for lb
2019-02-27 14:24:56 +02:00
Kubernetes Prow Robot
423fe84913
Merge pull request #6530 from zetaab/dnsserver
...
specify dns servers to openstack subnet
2019-02-27 04:10:33 -08:00
Jesse Haka
71452d0ddd
specify dns servers to openstack subnet
2019-02-25 22:54:07 +02:00