Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[updatecli] retrieve EKS version when tracking AMI node version #141

Open
dduportal opened this issue Feb 19, 2025 · 0 comments
Open

[updatecli] retrieve EKS version when tracking AMI node version #141

dduportal opened this issue Feb 19, 2025 · 0 comments
Labels
bug Something isn't working eks-ami-release updatecli

Comments

@dduportal
Copy link
Contributor

dduportal commented Feb 19, 2025

The updatecli manifest https://github.com/jenkins-infra/terraform-aws-sponsorship/blob/main/updatecli/updatecli.d/eks-ami-release.yaml which tracks the AMI version of EKS nodes has the Kubernetes version 1.29 written "raw" in it:

--path "/aws/service/eks/optimized-ami/1.29/" \

But since we upgraded EKS to 1.30, it creates PR proposing to revert node AMIs to an older (incompatible version) such as #140.

The manifest shall be patched with the same technique as other manifests (

sources:
getClusterKubernetesVersion:
kind: hcl
name: Retrieve the Kubernetes version used in the EKS cluster
spec:
file: eks-cijenkinsio-agents-2.tf
path: module.cijenkinsio_agents_2.cluster_version
getLatestAwsEbsCsiDriverVersion:
kind: shell
name: Retrieve the latest version of aws-ebs-csi-driver for Kubernetes {{ source "getClusterKubernetesVersion" }}
dependson:
- getClusterKubernetesVersion
spec:
command: |
aws eks describe-addon-versions \
--kubernetes-version {{ source "getClusterKubernetesVersion" }} \
) to dynamically discover the the EKS version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working eks-ami-release updatecli
Projects
None yet
Development

No branches or pull requests

1 participant