⬆ k3s v1.24.4+k3s1️

This commit is contained in:
auricom
2022-09-23 07:47:36 +02:00
parent 0a5c06e5c9
commit b28cceec12
5 changed files with 11 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
# Use a specific version of k3s # Use a specific version of k3s
# renovate: datasource=github-releases depName=k3s-io/k3s # renovate: datasource=github-releases depName=k3s-io/k3s
k3s_release_version: "v1.24.2+k3s2" k3s_release_version: "v1.24.4+k3s2"
# -- Install using hard links rather than symbolic links. # -- Install using hard links rather than symbolic links.
# ...if you are using the system-upgrade-controller you will need to # ...if you are using the system-upgrade-controller you will need to

View File

@@ -69,3 +69,5 @@ k3s_server:
# Stop k3s control plane having workloads scheduled on them # Stop k3s control plane having workloads scheduled on them
node-taint: node-taint:
- "node-role.kubernetes.io/control-plane:NoSchedule" - "node-role.kubernetes.io/control-plane:NoSchedule"
node-label:
- "upgrade.cattle.io/plan=k3s-server"

View File

@@ -15,5 +15,6 @@ k3s_agent:
# https://github.com/k3s-io/k3s/issues/1264 # https://github.com/k3s-io/k3s/issues/1264
- "node-status-update-frequency=4s" - "node-status-update-frequency=4s"
- "max-pods=150" - "max-pods=150"
# node-label: node-label:
# - node-role.kubernetes.io/worker=true - "upgrade.cattle.io/plan=k3s-agent"
- "node-role.kubernetes.io/worker=true"

View File

@@ -13,7 +13,7 @@ spec:
concurrency: 1 concurrency: 1
nodeSelector: nodeSelector:
matchExpressions: matchExpressions:
- {key: node-role.kubernetes.io/control-plane, operator: DoesNotExist} - { key: node-role.kubernetes.io/control-plane, operator: DoesNotExist }
prepare: prepare:
image: rancher/k3s-upgrade image: rancher/k3s-upgrade
args: ["prepare", "k3s-server"] args: ["prepare", "k3s-server"]

View File

@@ -14,6 +14,9 @@ spec:
cordon: true cordon: true
nodeSelector: nodeSelector:
matchExpressions: matchExpressions:
- {key: node-role.kubernetes.io/control-plane, operator: Exists} - { key: node-role.kubernetes.io/control-plane, operator: Exists }
tolerations:
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
upgrade: upgrade:
image: rancher/k3s-upgrade image: rancher/k3s-upgrade