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.25 #3582

Closed
dduportal opened this issue May 12, 2023 · 12 comments
Closed

Upgrade to Kubernetes 1.25 #3582

dduportal opened this issue May 12, 2023 · 12 comments
Assignees

Comments

@dduportal
Copy link
Contributor

dduportal commented May 12, 2023

Previous upgrade: #3387

@github-actions
Copy link

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

  1. 92% Upgrade to Kubernetes 1.23 #3053
  2. 92% Upgrade to Kubernetes 1.22 #2930
  3. 92% Upgrade to Kubernetes 1.21 #2866
  4. 77% [INFRA-3118] Upgrade to Kubernetes 1.20 #2664

@dduportal
Copy link
Contributor Author

dduportal commented May 23, 2023

Updating kubectl:

smerle33 added a commit to jenkins-infra/kubernetes-management that referenced this issue Jun 22, 2023
dduportal pushed a commit to jenkins-infra/kubernetes-management that referenced this issue Jun 22, 2023
@dduportal
Copy link
Contributor Author

dduportal commented Jun 22, 2023

Since we have disabled doks due to Digital Ocean outage the 21 June 2023, we are taking the opportunity to upgrade both Digital Ocean clusters to 1.25 before putting back DigitalOcean clusters back to use.

Task list for both DigitalOcean clusters

dduportal added a commit to jenkins-infra/azure that referenced this issue Jul 7, 2023
Ref.
jenkins-infra/helpdesk#3582 (comment)

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@Gaoithe
Copy link

Gaoithe commented Jul 7, 2023

There is an outage. http://get.jenkins.io/ 13:29:49 UTC Friday, 7 July 2023 ..
Okay, I see you are aware of outage.
Good luck, hope you can fix and recover it without extreme stress, thank you!

@dduportal
Copy link
Contributor Author

All the public services should be back. We are working on finishing the 1.25 post upgrade steps and we'll publish a post-mortem next week.

@dduportal
Copy link
Contributor Author

dduportal commented Jul 10, 2023

Sub-tasks left beforer closing this issue:

dduportal added a commit to jenkins-infra/azure that referenced this issue Jul 10, 2023
Related to
jenkins-infra/helpdesk#3582 (comment)

Notes:

- The public IPs on trusted.ci (for the inbound SSH to bounce VM and for
the subnet's gateway) are not required to be locked
- Additional locks might be added to the data disks of ci.j or
trusted.ci.j for instance, as part of
jenkins-infra/helpdesk#3479 if this works as
expected

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@timja
Copy link
Member

timja commented Jul 10, 2023

which transitively removes the "automatic" resource group where the public_ip must be

not true, set this label:
service.beta.kubernetes.io/azure-load-balancer-resource-group: myNetworkResourceGroup

https://learn.microsoft.com/en-us/azure/aks/static-ip#create-a-service-using-the-static-ip-address

@lemeurherve
Copy link
Member

lemeurherve commented Jul 25, 2023

which transitively removes the "automatic" resource group where the public_ip must be

not true, set this label: service.beta.kubernetes.io/azure-load-balancer-resource-group: myNetworkResourceGroup

https://learn.microsoft.com/en-us/azure/aks/static-ip#create-a-service-using-the-static-ip-address

Thanks! We'll create a test IP in a resource group to check if we can safely move IPs to another resource group without recreating them, then we'll move prod IPs in a dedicated resource group (instead of the cluster node resource group) and add the label to the concerned services.

@dduportal
Copy link
Contributor Author

Last step: #3683

@dduportal dduportal reopened this Jul 26, 2023
@dduportal
Copy link
Contributor Author

😱 Forgot the 1.25 logo:

image

Ref. https://kubernetes.io/blog/2022/08/23/kubernetes-v1-25-release/

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

5 participants