chore: Remove support for Kubernetes 1.28 in kOps 1.34#17598
chore: Remove support for Kubernetes 1.28 in kOps 1.34#17598k8s-ci-robot merged 3 commits intokubernetes:masterfrom
Conversation
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
|
/lgtm |
|
/retest |
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
|
/test pull-kops-e2e-azure-cni-cilium |
|
/test pull-kops-e2e-cni-cilium-etcd |
|
Only flakes or known failures. |
|
@hakman: Overrode contexts on behalf of hakman: pull-kops-e2e-cni-amazonvpc, pull-kops-e2e-cni-cilium-etcd, pull-kops-e2e-cni-kuberouter, pull-kops-kubernetes-e2e-ubuntu-gce-build DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
| if cluster.IsKubernetesLT("1.27") && cloudProvider == api.CloudProviderAWS { | ||
| g.Spec.InstanceMetadata = &api.InstanceMetadataOptions{ | ||
| HTTPTokens: fi.PtrTo("required"), | ||
| } | ||
| } |
There was a problem hiding this comment.
I'm wondering if this should have been IsKubernetesGTE ? in which case we'd want to unconditionally set it. or rather, reintroduce it for k8s 1.34 and later unconditionally set it once we remove support for k8s 1.34. Same with the other InstanceMetadata assignments below.
There was a problem hiding this comment.
@rifelpet it is already the default, putting it in the spec makes it very hard to change it if needed for addons:
kops/pkg/model/awsmodel/autoscalinggroup.go
Lines 192 to 193 in 4d97716
As stated in the release notes: https://kops.sigs.k8s.io/releases/1.34-notes/#deprecations
/cc @rifelpet @ameukam