-
I saw already discussion #376 and postet a comment there. But my question goes a little bit beyond, so I started a new thread. I have a related issue (with same error log) because I have problems with postgres operator (PGO). It is not compatible with 1.25... Is it possible to downgrade to version 1.24 without any problems?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
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: ["true"]}
tolerations:
- {key: server-usage, effect: NoSchedule, operator: Equal, value: storage}
prepare:
image: rancher/k3s-upgrade
args: ["prepare", "k3s-server"]
drain:
force: true
skipWaitForDeleteTimeout: 60
upgrade:
image: rancher/k3s-upgrade
---
# server plan
apiVersion: upgrade.cattle.io/v1
kind: Plan
metadata:
name: k3s-server
namespace: system-upgrade
labels:
k3s_upgrade: server
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: In, values: ["true"]}
tolerations:
- {key: node-role.kubernetes.io/control-plane, effect: NoSchedule, operator: Exists}
- {key: CriticalAddonsOnly, effect: NoExecute, operator: Exists}
cordon: true
upgrade:
image: rancher/k3s-upgrade |
Beta Was this translation helpful? Give feedback.
Considering we'd like to upgrade to v1.24 releases, we can do this using following file: