Migrate archive-staging-rke2 cluster to the zfs snapshotter
As a followup to #5262 (closed), there doesn't seem to be any obvious blockers to migrating our clusters to the zfs snapshotter.
To validate this, let's do it on the archive-staging-rke2 cluster.
Prerequisite operations:
-
disable puppet on all nodes -
push change of snapshotter to puppet on all relevant nodes
For each node:
- cordon / drain the node
- apt-get update / dist-upgrade the node
- systemctl disable rke2-agent rancher-system-agent
- reboot the node
- move /var/lib/rancher/rke2/agent/containerd directory out of the way
- run puppet on the node
- enable rke2-agent rancher-system-agent.service
- start rancher-system-agent, wait for it to finish starting, start rke2-agent
- check system containers are being pulled and start
- uncordon the node
- clean up the old /var/lib/rancher/rke2/agent/containerd directory
Nodes:
-
rancher-node-staging-rke2-mgmt1 -
rancher-node-staging-rke2-worker1 -
rancher-node-staging-rke2-worker2 -
rancher-node-staging-rke2-worker3 -
rancher-node-staging-rke2-worker4 -
rancher-node-staging-rke2-worker5 -
rancher-node-staging-rke2-worker6 -
storage1