This message was deleted.
# k3s
a
This message was deleted.
r
How does your plan look like? I think the command is part of it?
a
it the default plan from: https://docs.k3s.io/upgrades/automated
Copy code
# Server plan
apiVersion: <http://upgrade.cattle.io/v1|upgrade.cattle.io/v1>
kind: Plan
metadata:
  name: server-plan
  namespace: system-upgrade
spec:
  concurrency: 1
  cordon: true
  nodeSelector:
    matchExpressions:
    - key: <http://node-role.kubernetes.io/control-plane_|node-role.kubernetes.io/control-plane_>
      operator: In
      values:
      - "true"
  serviceAccountName: system-upgrade
  upgrade:
    image: rancher/k3s-upgrade
  channel: <https://update.k3s.io/v1-release/channels/stable>
---
# Agent plan
apiVersion: <http://upgrade.cattle.io/v1|upgrade.cattle.io/v1>
kind: Plan
metadata:
  name: agent-plan
  namespace: system-upgrade
spec:
  concurrency: 1
  cordon: true
  nodeSelector:
    matchExpressions:
    - key: <http://node-role.kubernetes.io/control-plane|node-role.kubernetes.io/control-plane>
      operator: DoesNotExist
  prepare:
    args:
    - prepare
    - server-plan
    image: rancher/k3s-upgrade
  serviceAccountName: system-upgrade
  upgrade:
    image: rancher/k3s-upgrade
  channel: <https://update.k3s.io/v1-release/channels/stable>
r
Hm. Okay I also use those. Which node OS and k3s version? Maybe that makes a difference
a
the server is on an "old" k3os where k3s-service is disabled and k3s (v1.25.7+k3s1) installed and upgraded via
curl -sfL <https://get.k3s.io> | sh -
I tried to do a workaround by mounting a file to
/hostsupervise-daemon
but this fails a step later with something like, can create file because it already exists
c
You can't use the k3s-upgrade images on k3os. K3os is designed to use the embedded k3s version only and the k3s-upgrade images will not work right on it. You should stop using k3os as it hasn't been maintained for well over a year.
a
I didnt say i want to upgrade k3os, i want to upgrade k3s running on this this system
It was working before, since more than one year
c
That might be but I would get off it asap
It's not being updated and we don't support it, nor was changing the bundled k3s version ever supported