-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #310 from briandowns/issue-304
Add Kubernetes Upgrade Documentation
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Upgrade Kubernetes Process | ||
|
||
From time to time we need to update the version of Kubernetes used by RKE2. This document serves as a how-to for that process. The following steps are laid out in order. | ||
|
||
## Kube-proxy Helm Chart | ||
|
||
Create a new release asset for in the [rke2-charts](github.com/rancher/rke2-charts) repository. Instructions for doing so can be found in the repo. This is necessary as the RKE2 build process will check for that chart and source it into one of its build artifacts. | ||
|
||
## Update RKE2 | ||
|
||
The following files have references that will need to be updated in the respective locations. Replace the found version with the desired version. | ||
|
||
* Dockerfile: `RUN CHART_VERSION="v1.18.4" CHART_FILE=/charts/rke2-kube-proxy-chart.yml` | ||
* Dockerfile: `FROM rancher/k3s:v1.18.4-k3s1 AS k3s` | ||
* images.go: `KubernetesVersion = "v1.18.4"` | ||
* version.sh: `KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.18.4}` |