Created
October 3, 2021 12:55
-
-
Save Akaame/47473d0cdbe91da797e464aaa71d845f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Upgrade plan | |
apiVersion: upgrade.cattle.io/v1 | |
kind: Plan | |
metadata: | |
name: upgrade-plan | |
namespace: system-upgrade # created by system-upgrade controller manifest | |
spec: | |
concurrency: 1 # upgrade one node at a time | |
cordon: true # make the node unschedulable | |
nodeSelector: | |
matchExpressions: | |
- key: k3s-upgrade # upgrade nodes that are labeled with this | |
operator: In | |
values: | |
- "true" | |
serviceAccountName: system-upgrade # created by system-upgrade controller manifest | |
upgrade: | |
image: rancher/k3s-upgrade # this image does the heavy lifting | |
version: v1.22.2+k3s1 # target version to upgrade to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment