解决rancher-v2.6.3报helm-operator更新rancher-webhook异常问题
问题描述
排查解决
查看helm-operator相关pod
kubectl get pod -n cattle-system
NAME READY STATUS RESTARTS AGE
helm-operation-2mchw 1/2 Error 0 32m
helm-operation-54bq4 1/2 Error 0 22m
helm-operation-5zv78 1/2 Error 0 32m
helm-operation-6tbkg 1/2 Error 0 32m
helm-operation-7z6jn 1/2 Error 0 12m
helm-operation-9tps9 1/2 Error 0 37m查看日志
kubectl logs helm-operation-9tps9 -n cattle-system -c helm
# 显示如下
helm upgrade --history-max=5 --install=true --namespace=cattle-system --reset-values=true --timeout=5m0s --values=/home/shell/helm/values-rancher-webhook-1.0.2-up0.2.2.yaml --version=1.0.2+up0.2.2 --wait=true rancher-webhook /home/shell/helm/rancher-webhook-1.0.2-up0.2.2.tgz
Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress尝试查看helm 列表,没有看到已经部署的app
helm 增加 -a 参数后显示
卸载部署异常的helm app rancher-webhook
等待helm-operation-xxxxx 自动再次触发,并查看
参考
Last updated