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

Upgrade to Kubernetes 1.30 #4258

Closed
14 tasks done
dduportal opened this issue Aug 23, 2024 · 11 comments
Closed
14 tasks done

Upgrade to Kubernetes 1.30 #4258

dduportal opened this issue Aug 23, 2024 · 11 comments
Assignees

Comments

@dduportal
Copy link
Contributor

dduportal commented Aug 23, 2024

Per https://learn.microsoft.com/en-us/azure/aks/supported-kubernetes-versions?tabs=azure-cli#aks-kubernetes-release-calendar, Microsoft stops supporting Kubernetes 1.29 in March 2025.

As such, we must upgrade our

AZURE: 1.30.7

https://kubernetes.io/blog/2024/04/17/kubernetes-v1-30-release/

AWS: 1.30.9

aws eks describe-cluster-versions --region us-east-2 --profile=terraform-admin | jq '.clusterVersions[] | select(.clusterVersion == "1.30")'

{
    "clusterVersion": "1.30",
    "clusterType": "eks",
    "defaultPlatformVersion": "eks.27",
    "defaultVersion": false,
    "releaseDate": "2024-05-23T02:00:00+02:00",
    "endOfStandardSupportDate": "2025-07-23T02:00:00+02:00",
    "endOfExtendedSupportDate": "2026-07-23T02:00:00+02:00",
    "status": "STANDARD_SUPPORT",
    "kubernetesPatchVersion": "1.30.9"
}
Last issue for 1.29 was: https://github.com//issues/4161

Task list:

@dduportal dduportal added triage Incoming issues that need review kubernetes labels Aug 23, 2024
Copy link

github-actions bot commented Aug 23, 2024

@dduportal dduportal added this to the infra-team-sync-next milestone Aug 27, 2024
@dduportal dduportal removed the triage Incoming issues that need review label Aug 27, 2024
@dduportal
Copy link
Contributor Author

Update: delayed triage until October 2024

@smerle33 smerle33 added the triage Incoming issues that need review label Feb 11, 2025
@smerle33 smerle33 removed this from the infra-team-sync-next milestone Feb 11, 2025
@smerle33 smerle33 self-assigned this Feb 11, 2025
@dduportal dduportal added this to the infra-team-sync-2025-02-18 milestone Feb 11, 2025
@dduportal dduportal removed the triage Incoming issues that need review label Feb 11, 2025
smerle33 added a commit to jenkins-infra/packer-images that referenced this issue Feb 12, 2025
@smerle33
Copy link
Contributor

packer-image release was stuck and relaunched https://infra.ci.jenkins.io/job/infra-tools/job/packer-images/view/tags/job/2.28.1/

@smerle33
Copy link
Contributor

smerle33 commented Feb 17, 2025

infracijio-agents-1

Warning

Terraform upgrade must be performed manually otherwise it will upgrade the cluster where agents are currently performing, leading to build failure


@smerle33
Copy link
Contributor

smerle33 commented Feb 17, 2025

Changelog

Check of the Kubernetes 1.30 and AKS changelogs:

Nothing for us:
- deprecation https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.30.md#deprecation
- not used: Proper casing will be enforced on PUT of Microsoft.ContainerService/managedClusters/agentPools for the AgentPoolMode property. See this Azure/AKS#4468 for more detail.

Notes:
- NOTE: Azure portal mentions we're using a deprecated resource (ComponentStatus). Culprit is the datadog helm chart (see DataDog/helm-charts#961) but it's should still work for 1.30 as it's still in the master branch source code https://github.com/liggitt/kubernetes/blob/4e7e14203db8cde906604b057b1b2a8a15e8a50d/pkg/apis/core/types.go#L6377

@smerle33
Copy link
Contributor

smerle33 commented Feb 17, 2025

Update: publick8s cluster upgrade:

Warning

Your cluster was found to be using the deprecated In-Tree Persistent Volume (PV) storage class.
one PV for ldap-backup using azureFile
need to upgrade with https://learn.microsoft.com/en-us/azure/aks/csi-migrate-in-tree-volumes

done with jenkins-infra/azure#940

@smerle33
Copy link
Contributor

smerle33 commented Feb 17, 2025

cijioagents1 not used anymore so easy remnants of azure ci ... will be remove soon

@smerle33
Copy link
Contributor

smerle33 commented Feb 18, 2025

cijioagents2 on AWS

We plan to handle this upgrade Wednesday 19 February

@smerle33
Copy link
Contributor

smerle33 commented Feb 19, 2025

privatek8s on AZURE cluster upgrade:

@dduportal
Copy link
Contributor Author

cijioagents2 on AWS

The upgrade made us learn and realize a few improvement/fixes are needed in the Terraform AWS project, related to version tracking of EKS version and its components:

It is important to note that:

  • These improvements/fixes should be done before the Kubernetes 1.31
  • These changes would be useful so we can finely track version of AKS and its components with the same technique

@smerle33
Copy link
Contributor

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants