GKE版本,静态版本1.17.13-gke.2001
报错日志
TASK [common : Kubesphere | Creating snapshot controller values] ***************
changed: [localhost] => (item={'name': 'custom-values-snapshot-controller', 'file': 'custom-values-snapshot-controller.yaml'})
TASK [common : Kubesphere | Remove old snapshot crd] ***************************
changed: [localhost]
TASK [common : Kubesphere | Deploy snapshot controller] ************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/helm upgrade --install snapshot-controller /kubesphere/kubesphere/snapshot-controller
-f /kubesphere/kubesphere/custom-values-snapshot-controller.yaml --namespace kube-system\n", "delta": "0:00:01.131094", "end": "2020-11-19 05:55:53.560930",
"msg": "non-zero return code", "rc": 1, "start": "2020-11-19 05:55:52.429836", "stderr": "Error: rendered manifests contain a resource that already exists.
Unable to continue with install: ClusterRole \"snapshot-controller-runner\" in namespace \"\" exists and cannot be imported into the current release: invalid
ownership metadata; label validation error: missing key \"app.kubernetes.io/managed-by\": must be set to \"Helm\"; annotation validation error: missing key
\"meta.helm.sh/release-name\": must be set to \"snapshot-controller\"; annotation validation error: missing key \"meta.helm.sh/release-namespace\": must be s
et to \"kube-system\"", "stderr_lines": ["Error: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole \"sn
apshot-controller-runner\" in namespace \"\" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: miss
ing key \"app.kubernetes.io/managed-by\": must be set to \"Helm\"; annotation validation error: missing key \"meta.helm.sh/release-name\": must be set to \"s
napshot-controller\"; annotation validation error: missing key \"meta.helm.sh/release-namespace\": must be set to \"kube-system\""], "stdout": "Release \"sna
pshot-controller\" does not exist. Installing it now.", "stdout_lines": ["Release \"snapshot-controller\" does not exist. Installing it now."]}
PLAY RECAP *********************************************************************
localhost : ok=18 changed=13 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
更换1.16.13-gke.401版本没有遇到问题,可以正常部署,应该是版本问题。