[root@localhost rke2.2.2]# ./rke etcd snapshot-save --name etcd-2022021602.db --config cluster.yml INFO[0000] Starting saving snapshot on etcd hosts INFO[0000] [dialer] Setup tunnel for host [192.168.10.20] INFO[0000] [etcd] Saving snapshot [etcd-2022021602.db] on host [192.168.10.20] INFO[0001] [etcd] Successfully started [etcd-snapshot-once] container on host [192.168.10.20] INFO[0001] Waiting for [etcd-snapshot-once] container to exit on host [192.168.10.20] INFO[0001] Container [etcd-snapshot-once] is still running on host [192.168.10.20] INFO[0002] Waiting for [etcd-snapshot-once] container to exit on host [192.168.10.20] INFO[0002] Container [etcd-snapshot-once] is still running on host [192.168.10.20] INFO[0003] Waiting for [etcd-snapshot-once] container to exit on host [192.168.10.20] INFO[0003] Finished saving snapshot [etcd-2022021602.db] on all etcd hosts
备份负载集群
3.2 更新 Helm chart 仓库
1
helm repo update
确保有需要升级的版本
rancher官方仓库stable版本列表
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
[root@localhost rke2.2.2]# helm search rancher -l rancher-stable/rancher 2.3.4 v2.3.4 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.3.3 v2.3.3 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.3.2 v2.3.2 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.13 v2.2.13 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.11 v2.2.11 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.10 v2.2.10 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.9 v2.2.9 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.8 v2.2.8 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.7 v2.2.7 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.6 v2.2.6 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.5 v2.2.5 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.4 v2.2.4 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.3 v2.2.3 Install Rancher Server to manage Kubernetes clusters acro... rancher-stable/rancher 2.2.2 v2.2.2 Install Rancher Server to manage Kubernetes clusters acro...