jenkins-infra / helpdesk

Open your Infrastructure related issues here for the Jenkins project
https://github.com/jenkins-infra/helpdesk/issues/new/choose
16 stars 9 forks source link

Upgrade to Kubernetes 1.26 #3683

Closed dduportal closed 8 months ago

dduportal commented 11 months ago

Previous upgrade (1.25): https://github.com/jenkins-infra/helpdesk/issues/3582

Depreciation timelines for 1.25 (justifying the upgrade to 1.26):


Task list:

github-actions[bot] commented 11 months ago

Take a look at these similar issues to see if there isn't already a response to your problem:

  1. 92% #3387
  2. 92% #3053
  3. 92% #2930
  4. 92% #2866
  5. 77% #2664
lemeurherve commented 9 months ago

To keep in mind: https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke

To ensure the separation between the open source version of Kubernetes and those versions that are customized by services providers [...], the open source community is requiring that all provider-specific code that currently exists in the OSS code base be removed starting with v1.26.

smerle33 commented 9 months ago

kubectl 1.26.9 is now used in our system (client side).

dduportal commented 8 months ago

Update:

TODO:

dduportal commented 8 months ago

Update on DigitalOcean upgrade:

Post Mortem

The upgrade itself went fine but it had to be done through the DigitalOcean UI: the 2 terraform PRs did not show any change in their plans because of https://github.com/jenkins-infra/digitalocean/pull/148 which tells Terraform to ignore the version changes.

Rollbacking this change fails any terraform plan (as explained in the PR) due to the way how digitalocean_kubernetes_cluster and data.digitalocean_kubernetes_cluster are linked in relation with the kuberbetes providers in charge of managing CSI and admin SVCaccounts.

As such, the upgrade procedure is amended to the following workflow:

dduportal commented 8 months ago

EKS changelogs:

TL;DR:

dduportal commented 8 months ago

Update on AWS EKS upgrade:

Post Mortem

dduportal commented 8 months ago

Update: AKS Upgrade plan

Current changelog notable elements for Kubernetes 1.26:

privatek8s

Post Mortem for privatek8s

dduportal commented 8 months ago

Update:

TODO:

dduportal commented 8 months ago

Operation on publick8s (wip)

Chart upgrades (falco and Nginx Ingress)

Public IP

Kubernetes 1.26 upgrade

Post Mortem

dduportal commented 8 months ago

Mandatory logo

kube-1 26-logo

@smerle33 I'll let you close this issue with a mandatory gif or image ;)

smerle33 commented 8 months ago

image