版本信息:
kubernetes集群版本:1.15.10
helm版本:2.13.0
[root@k8s-224 ~]# helm version
Client: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}
[root@k8s-224 ~]# kubectl get deployment tiller-deploy -n kube-system
NAME READY UP-TO-DATE AVAILABLE AGE
tiller-deploy 1/1 1 1 311d
异常日志:
`
TASK [preinstall : Stop if kuernetes version is nonsupport] ********************
ok: [localhost] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [preinstall : check helm status] ******************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/helm list\n”, “delta”: “0:00:00.378070″, “end”: "2020-04-20 11:35:34.8637
93″, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-04-20 11:35:34.485723″, “stderr”: “Error: could not find a ready tiller pod”, “stderr_lines”: [“Error: could not find a ready tiller pod”], “stdout”: "", “stdout_lines”: []}…ignoring
TASK [preinstall : Stop if Helm is not available] ******************************
fatal: [localhost]: FAILED! => {
“assertion”: “helm_check.rc == 0″,
“changed”: false,
“evaluated_to”: false,
“msg”: “Helm is not available”
}
PLAY RECAP *********************************************************************
localhost : ok=5 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=1
`