Skip to content

Is it possible do downgrade k3s? #381

Answered by otavio
loxy asked this question in Q&A
Oct 31, 2022 · 1 comments · 11 replies
Discussion options

You must be logged in to vote

Considering we'd like to upgrade to v1.24 releases, we can do this using following file:

# kubectl apply -f ./k3s-upgrade.yaml
# Doc: https://rancher.com/docs/k3s/latest/en/upgrades/automated/
# agent plan
apiVersion: upgrade.cattle.io/v1
kind: Plan
metadata:
  name: k3s-agent
  namespace: system-upgrade
  labels:
    k3s_upgrade: agent
spec:
  concurrency: 1
  channel: https://update.k3s.io/v1-release/channels/v1.24
  serviceAccountName: system-upgrade
  nodeSelector:
    matchExpressions:
      - {key: k3s_upgrade, operator: Exists}
      - {key: k3s_upgrade, operator: NotIn, values: ["disabled", "false"]}
      - {key: node-role.kubernetes.io/control-plane, operator: NotIn, values: ["t…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@mysticaltech
Comment options

@mysticaltech
Comment options

@loxy
Comment options

@CC007
Comment options

@mysticaltech
Comment options

Answer selected by loxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants