Commit Graph

765 Commits

Author SHA1 Message Date
Steven E. Harris de1ecd844d
Allow cluster autoscaler to get EC2 instance types
When the cluster autoscaler builds its EC2 instance type catalog
dynamically instead of using only its statically defined set, grant it
the additional IAM permissions required to fetch the instance types
from the AWS API.
2022-04-20 12:22:28 -04:00
Ciprian Hacman b8d8f7b34d Revert to using 1.23.0-alpha.0 for AWS CCM 2022-04-19 04:18:23 +03:00
Ole Markus With 2d86420e77 Use Cluster Autoscaler 1.23 for k8s 1.24
We made this explicitly fail before because there is a risk of us forgetting to bump. I think, however, history has shown this risk is not very real
2022-04-18 12:39:20 +02:00
Kubernetes Prow Robot 1365bbb1d5
Merge pull request #13506 from olemarkus/ccm-stable
Bump CCM 1.22 and 1.23 images to stable versions
2022-04-18 00:04:41 -07:00
Ole Markus With 01d94fa392 Bump CCM 1.22 and 1.23 images to stable versions 2022-04-18 08:17:58 +02:00
Kubernetes Prow Robot 6d264080ed
Merge pull request #13484 from olemarkus/no-bazel-targets
Remove bazel targets and tools
2022-04-17 23:16:41 -07:00
justinsb 3027943dd2 Use etcd 3.5.3 instead of 3.5.1
3.5.3 includes the fixes for the potential etcd 3.5.x corruption
issues.
2022-04-17 17:04:46 -04:00
Ciprian Hacman 0643271a97 Revert "Enable etcd corruption check as mitigatio of 3.5 corruption issue"
This reverts commit 6d75f8f9f0.
2022-04-17 18:34:49 +03:00
justinsb 74397b2a4f Update to etcd-manager 3.0.20220417
In particular we want to pick up changes addressing the potential
corruption found in 3.5.0 - 3.5.2:

* Use etcd 3.5.3
* Pass the ETCD_EXPERIMENTAL_INITIAL_CORRUPT_CHECK for all 3.5 series
2022-04-17 10:29:01 -04:00
Ole Markus With ce2e877aeb Remove bazel files from vendor 2022-04-12 13:29:03 +02:00
Kubernetes Prow Robot 8120147889
Merge pull request #13326 from johngmyers/move-openstack
Move Openstack settings to cloudProvider.openstack
2022-04-10 00:10:05 -07:00
DingGGu 1b9cf91684
Bump NTH to 1.16.1, use WithDefaultBool in gotemplate, set ExcludeLoadBalancers default true 2022-04-09 17:04:23 +09:00
DingGGu c1042f4a3b
Bump NTH 1.16 and add excludeFromLoadBalancers option 2022-04-09 17:04:16 +09:00
John Gardiner Myers 6a621fcde5 Cleanup OpenStackOptionsBuilder 2022-04-07 14:52:25 -07:00
John Gardiner Myers aff5f587f3 Move Openstack settings to cloudProvider.openstack 2022-04-07 10:04:19 -07:00
Kubernetes Prow Robot 107fa6dcfb
Merge pull request #13454 from olemarkus/enable-etcd-corruption-check
Enable etcd corruption check as mitigatio of 3.5 corruption issue
2022-04-07 08:50:08 -07:00
Kubernetes Prow Robot f32503e413
Merge pull request #12919 from olemarkus/cilium-11-default
Use Cilium 1.11 as default
2022-04-06 04:18:56 -07:00
Ciprian Hacman 42289b7faa Update containerd to v1.6.2 2022-04-04 09:01:10 +03:00
Ole Markus With 6d75f8f9f0 Enable etcd corruption check as mitigatio of 3.5 corruption issue 2022-04-03 14:11:15 +02:00
Ole Markus With 3d77ab6139 Use Cilium 1.11 as default 2022-03-29 12:58:24 +02:00
Ole Markus With 93e35adebc update bazel 2022-03-26 18:50:14 +01:00
Ole Markus With e657a1a0f2 Remap images to add digest to them 2022-03-26 18:40:21 +01:00
Anthony Hausman 2b589d5914
FIX: Set default version into `model/components/nodeterminationhandler.go` 2022-03-23 11:56:38 +01:00
Bronson Mirafuentes e112d81025
Release 1.24.0-alpha.3 (#13372)
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 21:09:12 -07:00
Ciprian Hacman 30404d64a2 Run hack/update-expected.sh
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 09:01:59 +02:00
Ciprian Hacman a4ed2b0654 Migrate to registry.k8s.io
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-18 08:47:12 +02:00
Kubernetes Prow Robot 404e411103
Merge pull request #13330 from zetaab/feature/openstackgpu
Support GPU in OpenStack
2022-03-16 03:37:50 -07:00
Kubernetes Prow Robot aff109f9fc
Merge pull request #13343 from olemarkus/securitycontext
Add user to container securityContext and remove command
2022-03-14 02:48:21 -07:00
Jesse Haka a800218840 fixes 2022-03-11 12:01:20 +02:00
Ole Markus With 8524c3d320 Bump CCM 1.22 image. Use the 1.23 image for 1.24 due to latest being broken 2022-03-11 08:12:52 +01:00
Ole Markus With d7cb3bb1f7 Add user to container securityContext and remove command 2022-03-07 15:09:51 +01:00
Ciprian Hacman 2ff86a6656 Update containerd to v1.6.1
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-04 07:51:46 +02:00
John Gardiner Myers cac727c357 Make cloudProvider a struct in v1alpha3 API 2022-03-02 21:59:49 -08:00
John Gardiner Myers 70f7d9bdb2 Use function to get cloud provider from cluster spec 2022-03-02 21:59:47 -08:00
AkiraFukushima e5cf940d53
Add managed-by label to addon pods 2022-02-20 18:33:51 +09:00
Ciprian Hacman 843f89aedd Update containerd to v1.6.0
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-16 08:25:40 +02:00
Ciprian Hacman 5746093297 Install contained from the release package
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-14 11:27:26 +02:00
Ole Markus With 8b71cedccc Do not enable graceful shutdown if k8s version < 1.21 2022-02-12 19:13:52 +01:00
Ole Markus With 65c3a63d5d KCM should not run with leader migraton when aws ccm is enabled
AWS CCM is enabled by default in k8s 1.24, and KCM builder is now aware of that
2022-02-12 11:35:30 +01:00
Ole Markus With 2625264fe5 Add support for graceful node shutdown
Update docs/cluster_spec.md

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2022-02-11 20:51:02 +01:00
Kubernetes Prow Robot 95fc0ac5b8
Merge pull request #13212 from olemarkus/irsa-119
Fix irsa for k8s < 1.20
2022-02-09 12:25:49 -08:00
Ole Markus With 74e9a6cd18 Fix irsa for k8s < 1.20 2022-02-09 08:52:06 +01:00
Kubernetes Prow Robot 147052818b
Merge pull request #13203 from olemarkus/csi-featuregates
Fix CSI migration feature gates
2022-02-07 21:36:53 -08:00
Jiahui Feng b1dde24433 always enable Leader Election
for openstack CCM.
2022-02-07 15:31:21 -08:00
Ciprian Hacman f6d2502b85 Update containerd to v1.6.0-rc.3
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-08 20:03:10 +02:00
Jiahui Feng c57ed0c053 fix KCM logLevel not honored. 2022-02-07 14:34:35 -08:00
Kubernetes Prow Robot 70f3a2ec7f
Merge pull request #13187 from jiahuif-forks/feature/enable-leader-election
Always enable Leader Election for cloud-controller-manager
2022-02-05 06:30:50 -08:00
Ole Markus With 66e3202f34 Fix CSI migration feature gates
We had a bug for KCM feature gate, and the scheuler and apiserver gate was missing entirely.
2022-02-04 15:29:28 +01:00
Kubernetes Prow Robot 2fbc3e0671
Merge pull request #13198 from hakman/containerd-1.6.0-rc.2
Update containerd to v1.6.0-rc.2
2022-02-03 18:28:11 -08:00
Ciprian Hacman b961e03296 Update containerd to v1.6.0-rc.2
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-03 19:31:16 +02:00
justinsb 4f89c2e689 Update expected test output for etcd-manager bump 2022-02-03 11:21:54 -05:00
justinsb 97b7b90226 Update to etcd-manager v3.0.20220203
Relevant changes:

* Only emit GOMAXPROCS if non-zero [justinsb](https://github.com/justinsb) [284](https://github.com/kubernetes-sigs/etcdadm/pull/284)
* Set ETCD_STRICT_RECONFIG_CHECK [justinsb](https://github.com/justinsb) [286](https://github.com/kubernetes-sigs/etcdadm/pull/286)
* environment: ignore empty lines when converting to map [justinsb](https://github.com/justinsb) [285](https://github.com/kubernetes-sigs/etcdadm/pull/285)
* Fix ipv6 detection [olemarkus](https://github.com/olemarkus) [291](https://github.com/kubernetes-sigs/etcdadm/pull/291)
* Test for nil in to not found check [olemarkus](https://github.com/olemarkus) [292](https://github.com/kubernetes-sigs/etcdadm/pull/292)
2022-02-03 11:21:09 -05:00
Ole Markus With 6327cc378f Fix etcd-manager for ipv6 2022-02-03 12:59:26 +01:00
Jiahui Feng 0dfa8614b1 always enable Leader Election
for GCP cloud-controller-manager
2022-02-02 11:40:57 -08:00
Jiahui Feng d4b5742b5d always enable Leader Election
for AWS cloud-controller-manager
2022-02-02 11:40:34 -08:00
Ole Markus With af4d69cab3 Use etcd-manager pre-release until final release has been cut 2022-02-02 13:10:32 +01:00
Ole Markus With 994588c0fd Bump etcd-manager to v3.0.20220128 2022-01-30 07:13:32 +01:00
Kubernetes Prow Robot 3b8727de06
Merge pull request #13143 from olemarkus/ccm-bump-123
Bump CCM images
2022-01-21 07:45:59 -08:00
Ole Markus With 71a144136e Bump CCM images 2022-01-21 13:24:40 +01:00
Kubernetes Prow Robot ba837c0680
Merge pull request #13135 from olemarkus/metrics-server-bump-123
Bump metrics-server to 0.6.0 and enable HA mode
2022-01-21 01:27:59 -08:00
Ole Markus With 59dc424eae Bump metrics-server to 0.6.0 and enable HA mode 2022-01-21 09:28:50 +01:00
Ole Markus With 666cf710a2 Push partition into the policy struct 2022-01-20 17:49:36 +01:00
Ole Markus With 0a082fed12 Require tag on create for external AWS CCM 2022-01-20 15:32:46 +01:00
Ciprian Hacman 68b4611066 Clean up kubelet networking flags for dockershim
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-19 17:36:18 +02:00
Ciprian Hacman bf82a8f260 Update pause image to v3.6
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-19 13:00:36 +02:00
Ole Markus With 3f265a43bb Remove networking flags as of k8s 1.24 2022-01-18 22:15:16 +01:00
Ciprian Hacman 678366b916 Update containerd to v1.6.0-rc.0
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-13 07:39:37 +02:00
Ciprian Hacman 3f6db14e89 Update containerd to v1.6.0-beta.5
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-07 10:18:10 +02:00
John Gardiner Myers d5ac8862d5 Release 1.24.0-alpha.2 2022-01-01 10:35:11 -08:00
John Gardiner Myers 4d4a4a9e01 Use latest GCP CCM for k8s 1.24 2021-12-31 17:31:12 -08:00
justinsb 45ad8b50ae Enhance AddHostPathMapping to support a fluent style
This allows for the helper to be used in more places.
2021-12-31 13:26:12 -05:00
Ole Markus With dd06cd337f Bump Cluster Autoscaler and update manifest 2021-12-29 18:06:27 +01:00
John Gardiner Myers dae281d30e Migrate to GCE CCM in k8s 1.24 2021-12-28 19:33:07 -08:00
Jiahui Feng f3ca669141 generated: ./hack/update-bazel.sh 2021-12-20 17:19:34 -08:00
Jiahui Feng 733f4d524f external CCM for GCE 2021-12-20 17:15:17 -08:00
Kubernetes Prow Robot 2f31054e19
Merge pull request #13007 from hakman/skip_non-masquerade-cidr
Use kubelet --non-masquerade-cidr only for Docker with kubenet
2021-12-21 18:49:36 -08:00
Ole Markus With 00f8808ab1 Log the specific yaml segment that fails. Also remove redundant full manifest logging 2021-12-20 15:04:52 +01:00
Ciprian Hacman cb6d424675 Use kubelet --non-masquerade-cidr only for Docker with kubenet 2021-12-20 08:47:02 +02:00
Ciprian Hacman 991eb70c71 Update containerd to v1.6.0-beta.4 2021-12-15 08:33:30 +02:00
Ole Markus With 0cfea49250 Do not expose the policy actions sets out of package 2021-12-13 09:14:20 +01:00
Ole Markus With 794cb72112 Karpenter addon
Constrain the instance types to what is supported by the AMI

Add taints and label to karpenter provisioner

Add instance types to karpenter provisioner
2021-12-12 19:33:41 +01:00
John Gardiner Myers a0736b3c29 Remove support for Aliyun/Alibaba Cloud 2021-12-11 21:49:13 -08:00
John Gardiner Myers c5e1dea184 Remove code for no-longer-supported k8s version 2021-12-11 16:30:51 -08:00
Ole Markus With 2088849768 Do not set insecure port on k8s 1.20+ 2021-12-11 12:44:56 +01:00
Ciprian Hacman f5f35ab755
Release 1.24.0-alpha.1 (#12928) 2021-12-11 00:01:57 -08:00
Ciprian Hacman 473018f64f
Release 1.23.0-beta.1 (#12924) 2021-12-10 22:31:58 -08:00
John Gardiner Myers fe324c84b5 Upgrade node-cache to 1.21.3 2021-12-06 21:10:04 -08:00
justinsb 4cf52d0e51 GCE: Support kops-controller, including in gossip mode
We discover the kops-controller in gossip mode using seeding code that
calls into the GCE API, just like gossip itself does.

We refactor the gossip code into a shared gcediscovery library with
minimal dependencies.
2021-12-04 11:51:41 -05:00
John Gardiner Myers 5ae9d24c22 Remove more unused fields from v1alpha3 2021-12-02 20:41:07 -08:00
Kubernetes Prow Robot 0be79b25b7
Merge pull request #12867 from hakman/gofumpt_script
Add gofumpt scripts
2021-12-01 22:13:32 -08:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
Peter Rifel f22545e885
Enable GCP PD CSI driver by default in k8s 1.23 2021-11-30 22:15:47 -06:00
Ole Markus With f2f9b9dcbb Determine hostnameOverride entirely in nodeup instead of passing in cloud placeholders from cloudup 2021-11-30 13:29:54 +01:00
John Gardiner Myers ef754ce71f Make requests and limits be *resource.Quantity 2021-11-29 22:50:31 -08:00
John Gardiner Myers a502a37990 Support NodeLocalDNS on IPv6 clusters 2021-11-28 15:55:16 -08:00
John Gardiner Myers daca9fb2b8 Reissue client keypairs on issuer change 2021-11-27 15:24:36 -08:00
Kubernetes Prow Robot 3245c6d817
Merge pull request #12835 from johngmyers/disable-2
Invert sense of negative-option settings in v1alpha3
2021-11-27 00:38:41 -08:00
John Gardiner Myers 80a03c6aad Fix enabling of AWS CCM 2021-11-25 19:31:29 -08:00
John Gardiner Myers 837176340d Change sense of Cilium DisableMasquerade in v1alpha3 2021-11-25 18:45:13 -08:00
Kubernetes Prow Robot ddf40ddca2
Merge pull request #12826 from hakman/etcd-3.5.1
Add support for etcd v3.5.1
2021-11-25 04:26:33 -08:00