---
# System prepended metadata

title: Jenkins Kubernetes Upgrade
tags: [maintenance]

---

---
tags: maintenance
---

[![hackmd-github-sync-badge](https://hackmd.io/EDpvZx9ZS2GWgHHqWFRDfQ/badge)](https://hackmd.io/EDpvZx9ZS2GWgHHqWFRDfQ)

# Jenkins Kubernetes Upgrade

This document contains information about how to upgrade Kubernetes cluster maintained by the Jenkins infrastructure project.

## Template
This is the default list of requirements that we should consider before every Cluster upgrade. Feel free to add any suggestions you may have.

### Requirements

- Create [Jira](https://issues.jenkins.io) Ticket 
- Announce on:
  - [Jenkins status page](https://github.com/jenkins-infra/status)
  - IRC, channel #jenkins-infra on freenode
  - [Jenkins Infrastructure and Dev Mailing list](https://groups.google.com/g/jenkins-infra)
  - [Twitter](https://twitter.com/jenkinsci/), in case of major upgrade
- Review Release Changelogs 
  - [Kubernetes](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG)
  - [AKS](https://github.com/Azure/AKS/blob/master/CHANGELOG.md)
- Review and merge important pull request from [jenkins-infra/charts](https://github.com/jenkins-infra/charts)
- Block k8smgmnt job on infra.ci
- Pagerduty
  - Notify the on call person
- Dependency update
  - Bump kubectl docker image [docker-helmfile](https://github.com/jenkins-infra/docker-helmfile) to the targeted kubernetes controller version
  - Apply in the jenkins-infra/charts repo: https://github.com/jenkins-infra/charts/pull/1056
  
- Search for deprecated kubernetes resources
  - [Pluto](https://github.com/FairwindsOps/pluto) running `pluto detect-helm -owide`

---