uninstall rancher【卸载 rancher】

bash 复制代码
yum -y install git
git clone https://github.com/rancher/rancher-cleanup.git
bash 复制代码
cd rancher-cleanup

kubectl create -f deploy/rancher-cleanup.yaml

kubectl  -n kube-system logs -l job-name=cleanup-job  -f

kubectl create -f deploy/verify.yaml

kubectl  -n kube-system logs -l job-name=verify-job  -f

kubectl  -n kube-system logs -l job-name=verify-job  -f | grep -v "is deprecated"

注意:加入是离线私有仓库,需要推送镜像至私有仓库,并修改yaml仓库地址:

bash 复制代码
sed -i 's#rancher\/#192.168.128.156\/rancher\/#g' deploy/*.yaml

参考:

相关推荐
A ?Charis8 小时前
第五章-SUSE- Rancher-容器高可用与容灾测试-Rancher-back up(容灾测试)
rancher
A ?Charis2 天前
第四章-SUSE- Rancher-容器高可用与容灾测试-RKE2(容灾测试)
rancher
郝开2 天前
Windows系统中Docker可视化工具对比分析,Docker Desktop,Portainer,Rancher
docker·容器·rancher·docker desktop·portainer
A ?Charis4 天前
第二章-SUSE- Rancher-容器高可用与容灾测试-RKE2-集群搭建(外置Mysql)-Tarball方法
rancher
A ?Charis4 天前
第三章-SUSE- Rancher-容器高可用与容灾测试-Rancher-外置数据库(复用Mysql)
rancher
AKA小徐1 个月前
Debian12使用RKE2离线部署3master2node三主两从的k8s集群详细教程
kubernetes·rancher·rke2
long_songs2 个月前
kubectl rancher等重启之后服务起不来一分钟解决(另类方案)did you specify the right host or port?
linux·运维·服务器·kubernetes·kubectl·rancher·kubelet
十一呓语2 个月前
k8s+rancher配置滚动发布更新时服务不可用
java·kubernetes·rancher
欧阳潇瑞2 个月前
Ubuntu24 cgroupv2导致rancher(k3s)启动失败的处理
rancher
A ?Charis3 个月前
解决部署RKE2或K3S-“docker.io/rancher/mirrored-pause:3.6\“: -无法拉取镜像办法
docker·容器·rancher