Rancher Server 设置
-
Rancher 版本:2.5.17
-
K3S版本:v1.19.13+k3s1
-
部署方式:离线部署
问题描述: 离线部署成功之后,方位RancherUI,Local集群的cattle-system命名空间出现helm-
operation-8zw5p Unavailable,已经将如下镜像考入到
重现步骤: 离线方式按照,不适用任何仓库,rancher需要的内置镜像都copy到/var/lib/lancer/k3s/agent/images目录下
结果: helm-operation-8zw5p报错,Error: UPGRADE FAILED: “rancher-webhook” has no deployed releases
预期结果: Local集群内无任何POD报错
截图:
其他上下文信息:
root@4a572f4f141e :/home# k3s crictl images
IMAGE TAG IMAGE ID SIZE
docker.io/rancher/coredns-coredns 1.8.3 3885a5b7f138c 43.6MB
docker.io/rancher/fleet-agent v0.3.10-security1 f84fc2bcf98be 156MB
docker.io/rancher/fleet v0.3.10-security1 3e941bd1a1cfe 73.6MB
docker.io/rancher/gitjob v0.1.26-security1 3ffb75414d104 62.7MB
docker.io/rancher/kubectl v1.20.2 b119c4dfc78c8 40.2MB
docker.io/rancher/pause 3.1 da86e6ba6ca19 746kB
docker.io/rancher/rancher-operator v0.1.5 e6ef509e7153f 45.3MB
docker.io/rancher/rancher-webhook v0.1.6 3a48da350dfa1 41.7MB
docker.io/rancher/shell v0.1.13 b0f357eabae52 171MB
root@4a572f4f141e :/var/lib/rancher/k3s/agent/images# helm_v3 ls -A
NAME NAMESPACE REVISION UPDATED STATUS
fleet fleet-system 1 2024-07-31 05:35:30.189872887 +0000 UTC deployed
fleet-agent-local fleet-system 1 2024-07-31 05:35:52.803270757 +0000 UTC deployed
fleet-crd fleet-system 1 2024-07-31 05:35:32.666344149 +0000 UTC deployed
rancher-operator rancher-operator-system 1 2024-07-31 05:35:28.39222461 +0000 UTC deployed
rancher-operator-crd rancher-operator-system 1 2024-07-31 05:35:28.690230019 +0000 UTC deployed
日志
helm upgrade --history-max=5 --install=true --namespace=cattle-system --reset-values=true --timeout=5m0s --values=/home/shell/helm/values-rancher-webhook-0.1.600-up0.1.6.yaml --version=0.1.600+up0.1.6 --wait=true rancher-webhook /home/shell/helm/rancher-webhook-0.1.600-up0.1.6.tgz
Error: UPGRADE FAILED: “rancher-webhook” has no deployed releases