按照你的方法改了之后重新安装,发现以下几个错误,但是都被自动跳过了,目前还是用户密码不对
TASK [ks-core/prepare : ks-upgrade | disable ks-apiserver] *********************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl -n kubesphere-system scale deployment ks-apiserver –replicas=0″, “delta”: “0:00:00.630099″, “end”: “2020-02-28 13:23:25.187873″, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-02-28 13:23:24.557774″, “stderr”: "Error from server (NotFound): deployments.extensions \“ks-apiserver\” not found", “stderr_lines”: ["Error from server (NotFound): deployments.extensions \“ks-apiserver\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [ks-core/prepare : ks-upgrade | disable ks-apigateway] ********************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl -n kubesphere-system scale deployment ks-apigateway –replicas=0”, “delta”: “0:00:00.673345″, “end”: “2020-02-28 13:23:26.007044”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-02-28 13:23:25.333699”, “stderr”: "Error from server (NotFound): deployments.extensions \“ks-apigateway\” not found", “stderr_lines”: ["Error from server (NotFound): deployments.extensions \“ks-apigateway\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [ks-core/prepare : ks-upgrade | disable ks-account] ***********************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl -n kubesphere-system scale deployment ks-account –replicas=0″, “delta”: “0:00:00.621072″, “end”: “2020-02-28 13:23:26.795876”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-02-28 13:23:26.174804”, “stderr”: "Error from server (NotFound): deployments.extensions \“ks-account\” not found", “stderr_lines”: ["Error from server (NotFound): deployments.extensions \“ks-account\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [ks-core/prepare : ks-upgrade | disable ks-console] ***********************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl -n kubesphere-system scale deployment ks-console –replicas=0″, “delta”: “0:00:00.615384”, “end”: “2020-02-28 13:23:27.554718”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-02-28 13:23:26.939334”, “stderr”: "Error from server (NotFound): deployments.extensions \“ks-console\” not found", “stderr_lines”: ["Error from server (NotFound): deployments.extensions \“ks-console\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [ks-core/prepare : ks-upgrade | disable ks-controller-manager] ************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl -n kubesphere-system scale deployment ks-controller-manager –replicas=0”, “delta”: “0:00:00.599929″, “end”: “2020-02-28 13:23:28.309986″, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-02-28 13:23:27.710057”, “stderr”: "Error from server (NotFound): deployments.extensions \“ks-controller-manager\” not found", “stderr_lines”: ["Error from server (NotFound): deployments.extensions \“ks-controller-manager\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring