moyeeK零S
- 已编辑
这是我个人实验环境 危险操作 请勿在生产环境跟做
按照升级文档 下载两个文件
kubesphere-installer.yaml
cluster-configuration.yaml #把 2.1.1 的相关配置同步过来
不过这里有个问题
jwtSecret: "" # 这个在2.1.1 的时候就没配置,所以留空,不知道会不会有问题
检查机器相关配置存储
默认存储,机器存储、内存 一切足够、准备就行
kubectl get sc
NAME PROVISIONER AGE
openebs-device openebs.io/local 42d
openebs-hostpath (default) openebs.io/local 42d
openebs-jiva-default openebs.io/provisioner-iscsi 42d
openebs-snapshot-promoter volumesnapshot.external-storage.k8s.io/snapshot-promoter 42d
下面是直接执行
kubectl apply -f kubesphere-installer.yaml
kubectl apply -f cluster-configuration.yaml
查看进度 先get pods
kubectl get pods -n kubesphere-system
NAME READY STATUS RESTARTS AGE
etcd-85c98fb695-g4knr 1/1 Running 0 27m
ks-account-8557f5b6bd-4dt62 1/1 Running 0 26d
ks-account-8557f5b6bd-r9wwl 1/1 Running 1 32d
ks-apigateway-64f9df45bd-2s8ht 1/1 Running 0 26d
ks-apigateway-64f9df45bd-j8968 1/1 Running 1 32d
ks-apigateway-64f9df45bd-jgnlp 1/1 Running 3 32d
ks-apiserver-69bc7d4cb-m2fpr 1/1 Running 0 26d
ks-apiserver-69bc7d4cb-sjzjr 1/1 Running 0 28d
ks-apiserver-69bc7d4cb-z4qx2 1/1 Running 3 32d
ks-console-78465fbdb-5lv8x 1/1 Running 0 26d
ks-console-78465fbdb-qtsv9 1/1 Running 1 32d
ks-controller-manager-cc6c6ddd9-2x6xx 1/1 Running 0 26d
ks-controller-manager-cc6c6ddd9-5jdqf 1/1 Running 81 32d
ks-controller-manager-cc6c6ddd9-wh94v 1/1 Running 0 26d
ks-installer-85854b8c8-wqgsw 1/1 Running 0 5m31s
minio-845b7bd867-wcgb2 1/1 Running 3 38d
mysql-67cd66d5d-gz8xv 1/1 Running 3 38d
openldap-0 1/1 Running 6 37d
openldap-1 1/1 Running 1 26d
redis-ha-haproxy-ffb8d889d-bxrwn 1/1 Running 0 26d
redis-ha-haproxy-ffb8d889d-lmmq7 1/1 Running 22 28d
redis-ha-haproxy-ffb8d889d-nnj7x 1/1 Running 8 28d
redis-ha-server-0 2/2 Running 0 26d
redis-ha-server-1 2/2 Running 12 38d
redis-ha-server-2 2/2 Running 2 26d
实时查看log
kubectl logs -f pod/ks-installer-85854b8c8-wqgsw -n kubesphere-system
2020-09-14T12:18:58+08:00 INFO : shell-operator latest
2020-09-14T12:18:58+08:00 INFO : Use temporary dir: /tmp/shell-operator
2020-09-14T12:18:58+08:00 INFO : Initialize hooks manager ...
2020-09-14T12:18:58+08:00 INFO : Search and load hooks ...
2020-09-14T12:18:58+08:00 INFO : HTTP SERVER Listening on 0.0.0.0:9115
2020-09-14T12:18:58+08:00 INFO : Load hook config from '/hooks/kubesphere/installRunner.py'
2020-09-14T12:18:59+08:00 INFO : Load hook config from '/hooks/kubesphere/schedule.sh'
2020-09-14T12:18:59+08:00 INFO : Initializing schedule manager ...
2020-09-14T12:18:59+08:00 INFO : KUBE Init Kubernetes client
2020-09-14T12:18:59+08:00 INFO : KUBE-INIT Kubernetes client is configured successfully
2020-09-14T12:18:59+08:00 INFO : MAIN: run main loop
2020-09-14T12:18:59+08:00 INFO : MAIN: add onStartup tasks
2020-09-14T12:18:59+08:00 INFO : Running schedule manager ...
2020-09-14T12:18:59+08:00 INFO : QUEUE add all HookRun@OnStartup
2020-09-14T12:18:59+08:00 INFO : MSTOR Create new metric shell_operator_live_ticks
2020-09-14T12:18:59+08:00 INFO : MSTOR Create new metric shell_operator_tasks_queue_length
2020-09-14T12:18:59+08:00 INFO : GVR for kind 'ClusterConfiguration' is installer.kubesphere.io/v1alpha1, Resource=clusterconfigurations
2020-09-14T12:18:59+08:00 INFO : EVENT Kube event 'ae1ad2d9-83e3-4ceb-add5-958ae2517878'
2020-09-14T12:18:59+08:00 INFO : QUEUE add TASK_HOOK_RUN@KUBE_EVENTS kubesphere/installRunner.py
2020-09-14T12:19:02+08:00 INFO : TASK_RUN HookRun@KUBE_EVENTS kubesphere/installRunner.py
2020-09-14T12:19:02+08:00 INFO : Running hook 'kubesphere/installRunner.py' binding 'KUBE_EVENTS' ...
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
"msg": "Check roles/kubesphere-defaults/defaults/main.yml"
}
TASK [preinstall : check k8s version] ******************************************
changed: [localhost]
TASK [preinstall : init k8s version] *******************************************
ok: [localhost]
TASK [preinstall : Stop if kubernetes version is nonsupport] *******************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [preinstall : check storage class] ****************************************
changed: [localhost]
TASK [preinstall : Stop if StorageClass was not found] *************************
skipping: [localhost]
TASK [preinstall : check default storage class] ********************************
changed: [localhost]
TASK [preinstall : Stop if defaultStorageClass was not found] ******************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [preinstall : Kubesphere | Checking kubesphere component] *****************
changed: [localhost]
TASK [preinstall : Kubesphere | Get kubesphere component version] **************
changed: [localhost]
TASK [preinstall : Kubesphere | Get kubesphere component version] **************
failed: [localhost] (item=ks-openldap) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert ks-openldap\n", "delta": "0:00:00.175293", "end": "2020-09-14 12:19:10.341811", "item": "ks-openldap", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:10.166518", "stderr": "2020/09/14 12:19:10 Release \"ks-openldap\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:10 [Helm 3] Release \"ks-openldap\" will be created.\n2020/09/14 12:19:10 [Helm 3] ReleaseVersion \"ks-openldap.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:10 Release \"ks-openldap\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:10 [Helm 3] Release \"ks-openldap\" will be created.", "2020/09/14 12:19:10 [Helm 3] ReleaseVersion \"ks-openldap.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=ks-redis) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert ks-redis\n", "delta": "0:00:00.180458", "end": "2020-09-14 12:19:10.814186", "item": "ks-redis", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:10.633728", "stderr": "2020/09/14 12:19:10 Release \"ks-redis\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:10 [Helm 3] Release \"ks-redis\" will be created.\n2020/09/14 12:19:10 [Helm 3] ReleaseVersion \"ks-redis.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:10 Release \"ks-redis\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:10 [Helm 3] Release \"ks-redis\" will be created.", "2020/09/14 12:19:10 [Helm 3] ReleaseVersion \"ks-redis.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=ks-minio) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert ks-minio\n", "delta": "0:00:00.186104", "end": "2020-09-14 12:19:11.302875", "item": "ks-minio", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:11.116771", "stderr": "2020/09/14 12:19:11 Release \"ks-minio\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:11 [Helm 3] Release \"ks-minio\" will be created.\n2020/09/14 12:19:11 [Helm 3] ReleaseVersion \"ks-minio.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:11 Release \"ks-minio\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:11 [Helm 3] Release \"ks-minio\" will be created.", "2020/09/14 12:19:11 [Helm 3] ReleaseVersion \"ks-minio.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=ks-openpitrix) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert ks-openpitrix\n", "delta": "0:00:00.157507", "end": "2020-09-14 12:19:11.743808", "item": "ks-openpitrix", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:11.586301", "stderr": "2020/09/14 12:19:11 Release \"ks-openpitrix\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:11 [Helm 3] Release \"ks-openpitrix\" will be created.\n2020/09/14 12:19:11 [Helm 3] ReleaseVersion \"ks-openpitrix.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:11 Release \"ks-openpitrix\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:11 [Helm 3] Release \"ks-openpitrix\" will be created.", "2020/09/14 12:19:11 [Helm 3] ReleaseVersion \"ks-openpitrix.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=elasticsearch-logging) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert elasticsearch-logging\n", "delta": "0:00:00.178029", "end": "2020-09-14 12:19:12.203054", "item": "elasticsearch-logging", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:12.025025", "stderr": "2020/09/14 12:19:12 Release \"elasticsearch-logging\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:12 [Helm 3] Release \"elasticsearch-logging\" will be created.\n2020/09/14 12:19:12 [Helm 3] ReleaseVersion \"elasticsearch-logging.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:12 Release \"elasticsearch-logging\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:12 [Helm 3] Release \"elasticsearch-logging\" will be created.", "2020/09/14 12:19:12 [Helm 3] ReleaseVersion \"elasticsearch-logging.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=elasticsearch-logging-curator) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert elasticsearch-logging-curator\n", "delta": "0:00:00.171594", "end": "2020-09-14 12:19:12.651433", "item": "elasticsearch-logging-curator", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:12.479839", "stderr": "2020/09/14 12:19:12 Release \"elasticsearch-logging-curator\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:12 [Helm 3] Release \"elasticsearch-logging-curator\" will be created.\n2020/09/14 12:19:12 [Helm 3] ReleaseVersion \"elasticsearch-logging-curator.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:12 Release \"elasticsearch-logging-curator\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:12 [Helm 3] Release \"elasticsearch-logging-curator\" will be created.", "2020/09/14 12:19:12 [Helm 3] ReleaseVersion \"elasticsearch-logging-curator.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=istio) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert istio\n", "delta": "0:00:00.198935", "end": "2020-09-14 12:19:13.134064", "item": "istio", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:12.935129", "stderr": "2020/09/14 12:19:13 Release \"istio\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:13 [Helm 3] Release \"istio\" will be created.\n2020/09/14 12:19:13 [Helm 3] ReleaseVersion \"istio.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:13 Release \"istio\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:13 [Helm 3] Release \"istio\" will be created.", "2020/09/14 12:19:13 [Helm 3] ReleaseVersion \"istio.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=istio-init) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert istio-init\n", "delta": "0:00:00.170064", "end": "2020-09-14 12:19:13.573026", "item": "istio-init", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:13.402962", "stderr": "2020/09/14 12:19:13 Release \"istio-init\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:13 [Helm 3] Release \"istio-init\" will be created.\n2020/09/14 12:19:13 \n2020/09/14 12:19:13 NOTE: The max release versions \"10\" is less than the actual release versions \"13\".\n2020/09/14 12:19:13 This means only \"10\" of the latest release versions will be converted.\n2020/09/14 12:19:13 \n2020/09/14 12:19:13 [Helm 3] ReleaseVersion \"istio-init.v4\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:13 Release \"istio-init\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:13 [Helm 3] Release \"istio-init\" will be created.", "2020/09/14 12:19:13 ", "2020/09/14 12:19:13 NOTE: The max release versions \"10\" is less than the actual release versions \"13\".", "2020/09/14 12:19:13 This means only \"10\" of the latest release versions will be converted.", "2020/09/14 12:19:13 ", "2020/09/14 12:19:13 [Helm 3] ReleaseVersion \"istio-init.v4\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=jaeger-operator) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert jaeger-operator\n", "delta": "0:00:00.170375", "end": "2020-09-14 12:19:14.017603", "item": "jaeger-operator", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:13.847228", "stderr": "2020/09/14 12:19:13 Release \"jaeger-operator\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:13 [Helm 3] Release \"jaeger-operator\" will be created.\n2020/09/14 12:19:13 \n2020/09/14 12:19:13 NOTE: The max release versions \"10\" is less than the actual release versions \"14\".\n2020/09/14 12:19:13 This means only \"10\" of the latest release versions will be converted.\n2020/09/14 12:19:13 \n2020/09/14 12:19:13 [Helm 3] ReleaseVersion \"jaeger-operator.v5\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:13 Release \"jaeger-operator\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:13 [Helm 3] Release \"jaeger-operator\" will be created.", "2020/09/14 12:19:13 ", "2020/09/14 12:19:13 NOTE: The max release versions \"10\" is less than the actual release versions \"14\".", "2020/09/14 12:19:13 This means only \"10\" of the latest release versions will be converted.", "2020/09/14 12:19:13 ", "2020/09/14 12:19:13 [Helm 3] ReleaseVersion \"jaeger-operator.v5\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=ks-jenkins) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert ks-jenkins\n", "delta": "0:00:00.211321", "end": "2020-09-14 12:19:14.513625", "item": "ks-jenkins", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:14.302304", "stderr": "2020/09/14 12:19:14 Release \"ks-jenkins\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:14 [Helm 3] Release \"ks-jenkins\" will be created.\n2020/09/14 12:19:14 [Helm 3] ReleaseVersion \"ks-jenkins.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:14 Release \"ks-jenkins\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:14 [Helm 3] Release \"ks-jenkins\" will be created.", "2020/09/14 12:19:14 [Helm 3] ReleaseVersion \"ks-jenkins.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=ks-sonarqube) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert ks-sonarqube\n", "delta": "0:00:00.169550", "end": "2020-09-14 12:19:14.957032", "item": "ks-sonarqube", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:14.787482", "stderr": "2020/09/14 12:19:14 Release \"ks-sonarqube\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:14 [Helm 3] Release \"ks-sonarqube\" will be created.\n2020/09/14 12:19:14 [Helm 3] ReleaseVersion \"ks-sonarqube.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:14 Release \"ks-sonarqube\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:14 [Helm 3] Release \"ks-sonarqube\" will be created.", "2020/09/14 12:19:14 [Helm 3] ReleaseVersion \"ks-sonarqube.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=logging-fluentbit-operator) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert logging-fluentbit-operator\n", "delta": "0:00:00.156933", "end": "2020-09-14 12:19:15.397594", "item": "logging-fluentbit-operator", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:15.240661", "stderr": "2020/09/14 12:19:15 Release \"logging-fluentbit-operator\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:15 [Helm 3] Release \"logging-fluentbit-operator\" will be created.\n2020/09/14 12:19:15 [Helm 3] ReleaseVersion \"logging-fluentbit-operator.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:15 Release \"logging-fluentbit-operator\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:15 [Helm 3] Release \"logging-fluentbit-operator\" will be created.", "2020/09/14 12:19:15 [Helm 3] ReleaseVersion \"logging-fluentbit-operator.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=uc) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert uc\n", "delta": "0:00:00.157104", "end": "2020-09-14 12:19:15.827555", "item": "uc", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:15.670451", "stderr": "2020/09/14 12:19:15 Release \"uc\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:15 [Helm 3] Release \"uc\" will be created.\n2020/09/14 12:19:15 [Helm 3] ReleaseVersion \"uc.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:15 Release \"uc\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:15 [Helm 3] Release \"uc\" will be created.", "2020/09/14 12:19:15 [Helm 3] ReleaseVersion \"uc.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
failed: [localhost] (item=metrics-server) => {"ansible_loop_var": "item", "changed": true, "cmd": "/usr/local/bin/helm 2to3 convert metrics-server\n", "delta": "0:00:00.158918", "end": "2020-09-14 12:19:16.270164", "item": "metrics-server", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:19:16.111246", "stderr": "2020/09/14 12:19:16 Release \"metrics-server\" will be converted from Helm v2 to Helm v3.\n2020/09/14 12:19:16 [Helm 3] Release \"metrics-server\" will be created.\n2020/09/14 12:19:16 [Helm 3] ReleaseVersion \"metrics-server.v1\" will be created.\nError: release: already exists\nError: plugin \"2to3\" exited with error", "stderr_lines": ["2020/09/14 12:19:16 Release \"metrics-server\" will be converted from Helm v2 to Helm v3.", "2020/09/14 12:19:16 [Helm 3] Release \"metrics-server\" will be created.", "2020/09/14 12:19:16 [Helm 3] ReleaseVersion \"metrics-server.v1\" will be created.", "Error: release: already exists", "Error: plugin \"2to3\" exited with error"], "stdout": "", "stdout_lines": []}
...ignoring
PLAY RECAP *********************************************************************
localhost : ok=10 changed=6 unreachable=0 failed=0 skipped=4 rescued=0 ignored=1
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
"msg": "Check roles/kubesphere-defaults/defaults/main.yml"
}
TASK [metrics-server : Metrics-Server | Checking old installation files] *******
skipping: [localhost]
TASK [metrics-server : Metrics-Server | deleting old metrics-server] ***********
skipping: [localhost]
TASK [metrics-server : Metrics-Server | deleting old metrics-server files] *****
skipping: [localhost] => (item=metrics-server)
TASK [metrics-server : Metrics-Server | Getting metrics-server installation files] ***
skipping: [localhost]
TASK [metrics-server : Metrics-Server | Creating manifests] ********************
skipping: [localhost] => (item={'name': 'values', 'file': 'values.yaml', 'type': 'config'})
TASK [metrics-server : Metrics-Server | Check Metrics-Server] ******************
skipping: [localhost]
TASK [metrics-server : Metrics-Server | Installing metrics-server] *************
skipping: [localhost]
TASK [metrics-server : Metrics-Server | Installing metrics-server retry] *******
skipping: [localhost]
TASK [metrics-server : Metrics-Server | Waitting for v1beta1.metrics.k8s.io ready] ***
skipping: [localhost]
TASK [metrics-server : Metrics-Server | import metrics-server status] **********
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
"msg": "Check roles/kubesphere-defaults/defaults/main.yml"
}
TASK [common : Kubesphere | Check kube-node-lease namespace] *******************
changed: [localhost]
TASK [common : KubeSphere | Get system namespaces] *****************************
ok: [localhost]
TASK [common : set_fact] *******************************************************
ok: [localhost]
TASK [common : debug] **********************************************************
ok: [localhost] => {
"msg": [
"kubesphere-system",
"kubesphere-controls-system",
"kubesphere-monitoring-system",
"kube-node-lease",
"kubesphere-logging-system",
"kubesphere-devops-system",
"istio-system",
"kubesphere-alerting-system",
"istio-system"
]
}
TASK [common : KubeSphere | Create kubesphere namespace] ***********************
changed: [localhost] => (item=kubesphere-system)
changed: [localhost] => (item=kubesphere-controls-system)
changed: [localhost] => (item=kubesphere-monitoring-system)
changed: [localhost] => (item=kube-node-lease)
changed: [localhost] => (item=kubesphere-logging-system)
changed: [localhost] => (item=kubesphere-devops-system)
changed: [localhost] => (item=istio-system)
changed: [localhost] => (item=kubesphere-alerting-system)
changed: [localhost] => (item=istio-system)
TASK [common : KubeSphere | Labeling system-workspace] *************************
changed: [localhost] => (item=default)
changed: [localhost] => (item=kube-public)
changed: [localhost] => (item=kube-system)
changed: [localhost] => (item=kubesphere-system)
changed: [localhost] => (item=kubesphere-controls-system)
changed: [localhost] => (item=kubesphere-monitoring-system)
changed: [localhost] => (item=kube-node-lease)
changed: [localhost] => (item=kubesphere-logging-system)
changed: [localhost] => (item=kubesphere-devops-system)
changed: [localhost] => (item=istio-system)
changed: [localhost] => (item=kubesphere-alerting-system)
changed: [localhost] => (item=istio-system)
TASK [common : KubeSphere | Create ImagePullSecrets] ***************************
changed: [localhost] => (item=default)
changed: [localhost] => (item=kube-public)
changed: [localhost] => (item=kube-system)
changed: [localhost] => (item=kubesphere-system)
changed: [localhost] => (item=kubesphere-controls-system)
changed: [localhost] => (item=kubesphere-monitoring-system)
changed: [localhost] => (item=kube-node-lease)
changed: [localhost] => (item=kubesphere-logging-system)
changed: [localhost] => (item=kubesphere-devops-system)
changed: [localhost] => (item=istio-system)
changed: [localhost] => (item=kubesphere-alerting-system)
changed: [localhost] => (item=istio-system)
TASK [common : Kubesphere | Label namespace for network policy] ****************
changed: [localhost]
TASK [common : KubeSphere | Getting kubernetes master num] *********************
changed: [localhost]
TASK [common : KubeSphere | Setting master num] ********************************
ok: [localhost]
TASK [common : Kubesphere | Getting common component installation files] *******
changed: [localhost] => (item=common)
changed: [localhost] => (item=ks-crds)
TASK [common : KubeSphere | Create KubeSphere crds] ****************************
changed: [localhost]
TASK [common : KubeSphere | Recreate KubeSphere crds] **************************
changed: [localhost]
TASK [common : KubeSphere | check k8s version] *********************************
changed: [localhost]
TASK [common : Kubesphere | Getting common component installation files] *******
skipping: [localhost] => (item=snapshot-controller)
TASK [common : Kubesphere | Creating snapshot controller values] ***************
skipping: [localhost] => (item={'name': 'custom-values-snapshot-controller', 'file': 'custom-values-snapshot-controller.yaml'})
TASK [common : Kubesphere | Remove old snapshot crd] ***************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy snapshot controller] ************************
skipping: [localhost]
TASK [common : Kubesphere | Checking openpitrix common component] **************
changed: [localhost]
TASK [common : include_tasks] **************************************************
skipping: [localhost] => (item={'op': 'openpitrix-db', 'ks': 'mysql-pvc'})
skipping: [localhost] => (item={'op': 'openpitrix-etcd', 'ks': 'etcd-pvc'})
TASK [common : Getting PersistentVolumeName (mysql)] ***************************
skipping: [localhost]
TASK [common : Getting PersistentVolumeSize (mysql)] ***************************
skipping: [localhost]
TASK [common : Setting PersistentVolumeName (mysql)] ***************************
skipping: [localhost]
TASK [common : Setting PersistentVolumeSize (mysql)] ***************************
skipping: [localhost]
TASK [common : Getting PersistentVolumeName (etcd)] ****************************
skipping: [localhost]
TASK [common : Getting PersistentVolumeSize (etcd)] ****************************
skipping: [localhost]
TASK [common : Setting PersistentVolumeName (etcd)] ****************************
skipping: [localhost]
TASK [common : Setting PersistentVolumeSize (etcd)] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check mysql PersistentVolumeClaim] *****************
changed: [localhost]
TASK [common : Kubesphere | Setting mysql db pv size] **************************
ok: [localhost]
TASK [common : Kubesphere | Check redis PersistentVolumeClaim] *****************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/kubectl get pvc -n kubesphere-system redis-pvc -o jsonpath='{.status.capacity.storage}'\n", "delta": "0:00:00.093847", "end": "2020-09-14 12:20:05.979543", "msg": "non-zero return code", "rc": 1, "start": "2020-09-14 12:20:05.885696", "stderr": "Error from server (NotFound): persistentvolumeclaims \"redis-pvc\" not found", "stderr_lines": ["Error from server (NotFound): persistentvolumeclaims \"redis-pvc\" not found"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [common : Kubesphere | Setting redis db pv size] **************************
skipping: [localhost]
TASK [common : Kubesphere | Check minio PersistentVolumeClaim] *****************
changed: [localhost]
TASK [common : Kubesphere | Setting minio pv size] *****************************
ok: [localhost]
TASK [common : Kubesphere | Check openldap PersistentVolumeClaim] **************
changed: [localhost]
TASK [common : Kubesphere | Setting openldap pv size] **************************
ok: [localhost]
TASK [common : Kubesphere | Check etcd db PersistentVolumeClaim] ***************
changed: [localhost]
TASK [common : Kubesphere | Setting etcd pv size] ******************************
ok: [localhost]
TASK [common : Kubesphere | Check redis ha PersistentVolumeClaim] **************
changed: [localhost]
TASK [common : Kubesphere | Setting redis ha pv size] **************************
ok: [localhost]
TASK [common : Kubesphere | Check es-master PersistentVolumeClaim] *************
changed: [localhost]
TASK [common : Kubesphere | Setting es master pv size] *************************
ok: [localhost]
TASK [common : Kubesphere | Check es data PersistentVolumeClaim] ***************
changed: [localhost]
TASK [common : Kubesphere | Setting es data pv size] ***************************
ok: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
changed: [localhost] => (item={'path': 'etcd', 'file': 'etcd.yaml'})
changed: [localhost] => (item={'name': 'mysql', 'file': 'mysql.yaml'})
changed: [localhost] => (item={'path': 'redis', 'file': 'redis.yaml'})
TASK [common : Kubesphere | Creating mysql sercet] *****************************
changed: [localhost]
TASK [common : Kubesphere | Deploying etcd and mysql] **************************
skipping: [localhost] => (item=etcd.yaml)
skipping: [localhost] => (item=mysql.yaml)
TASK [common : Kubesphere | Getting minio installation files] ******************
skipping: [localhost] => (item=minio-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={'name': 'custom-values-minio', 'file': 'custom-values-minio.yaml'})
TASK [common : Kubesphere | Check minio] ***************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy minio] **************************************
skipping: [localhost]
TASK [common : debug] **********************************************************
skipping: [localhost]
TASK [common : fail] ***********************************************************
skipping: [localhost]
TASK [common : Kubesphere | create minio config directory] *********************
skipping: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
skipping: [localhost] => (item={'path': '/root/.config/rclone', 'file': 'rclone.conf'})
TASK [common : include_tasks] **************************************************
skipping: [localhost] => (item=helm)
skipping: [localhost] => (item=vmbased)
TASK [common : Kubesphere | import minio status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Check ha-redis] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis installation files] ******************
skipping: [localhost] => (item=redis-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={'name': 'custom-values-redis', 'file': 'custom-values-redis.yaml'})
TASK [common : Kubesphere | Check old redis status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old redis svc] *******************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis PodIp] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Creating redis migration script] *******************
skipping: [localhost] => (item={'path': '/etc/kubesphere', 'file': 'redisMigrate.py'})
TASK [common : Kubesphere | Check redis-ha status] *****************************
skipping: [localhost]
TASK [common : ks-logging | Migrating redis data] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old redis] *********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost] => (item=redis.yaml)
TASK [common : Kubesphere | import redis status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Getting openldap installation files] ***************
skipping: [localhost] => (item=openldap-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={'name': 'custom-values-openldap', 'file': 'custom-values-openldap.yaml'})
TASK [common : Kubesphere | Check old openldap status] *************************
skipping: [localhost]
TASK [common : KubeSphere | Shutdown ks-account] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old openldap svc] ****************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy openldap] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Load old openldap data] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap-ha status] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get openldap-ha pod list] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get old openldap data] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Migrating openldap data] ***************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old openldap] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Restart openldap] **********************************
skipping: [localhost]
TASK [common : KubeSphere | Restarting ks-account] *****************************
skipping: [localhost]
TASK [common : Kubesphere | import openldap status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check ha-redis] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis installation files] ******************
skipping: [localhost] => (item=redis-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={'name': 'custom-values-redis', 'file': 'custom-values-redis.yaml'})
TASK [common : Kubesphere | Check old redis status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old redis svc] *******************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis PodIp] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Creating redis migration script] *******************
skipping: [localhost] => (item={'path': '/etc/kubesphere', 'file': 'redisMigrate.py'})
TASK [common : Kubesphere | Check redis-ha status] *****************************
skipping: [localhost]
TASK [common : ks-logging | Migrating redis data] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old redis] *********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost] => (item=redis.yaml)
TASK [common : Kubesphere | import redis status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Getting openldap installation files] ***************
skipping: [localhost] => (item=openldap-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={'name': 'custom-values-openldap', 'file': 'custom-values-openldap.yaml'})
TASK [common : Kubesphere | Check old openldap status] *************************
skipping: [localhost]
TASK [common : KubeSphere | Shutdown ks-account] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old openldap svc] ****************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy openldap] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Load old openldap data] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap-ha status] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get openldap-ha pod list] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get old openldap data] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Migrating openldap data] ***************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old openldap] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Restart openldap] **********************************
skipping: [localhost]
TASK [common : KubeSphere | Restarting ks-account] *****************************
skipping: [localhost]
TASK [common : Kubesphere | import openldap status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Getting minio installation files] ******************
skipping: [localhost] => (item=minio-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={'name': 'custom-values-minio', 'file': 'custom-values-minio.yaml'})
TASK [common : Kubesphere | Check minio] ***************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy minio] **************************************
skipping: [localhost]
TASK [common : debug] **********************************************************
skipping: [localhost]
TASK [common : fail] ***********************************************************
skipping: [localhost]
TASK [common : Kubesphere | create minio config directory] *********************
skipping: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
skipping: [localhost] => (item={'path': '/root/.config/rclone', 'file': 'rclone.conf'})
TASK [common : include_tasks] **************************************************
skipping: [localhost] => (item=helm)
skipping: [localhost] => (item=vmbased)
TASK [common : Kubesphere | import minio status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying common component] ************************
skipping: [localhost] => (item=mysql.yaml)
TASK [common : Kubesphere | import mysql status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying common component] ************************
changed: [localhost] => (item=etcd.yaml)
TASK [common : Kubesphere | Getting elasticsearch and curator installation files] ***
changed: [localhost]
TASK [common : Kubesphere | Creating custom manifests] *************************
changed: [localhost] => (item={'name': 'custom-values-elasticsearch', 'file': 'custom-values-elasticsearch.yaml'})
changed: [localhost] => (item={'name': 'custom-values-elasticsearch-curator', 'file': 'custom-values-elasticsearch-curator.yaml'})
TASK [common : Kubesphere | Check elasticsearch data StatefulSet] **************
changed: [localhost]
TASK [common : Kubesphere | Check elasticsearch storageclass] ******************
changed: [localhost]
TASK [common : Kubesphere | Comment elasticsearch storageclass parameter] ******
'command_warnings=False' in ansible.cfg to get rid of this message.
changed: [localhost]
TASK [common : KubeSphere | Check internal es] *********************************
changed: [localhost]
TASK [common : Kubesphere | Deploy elasticsearch-logging] **********************
skipping: [localhost]
TASK [common : Kubesphere | Get PersistentVolume Name] *************************
skipping: [localhost]
TASK [common : Kubesphere | Patch PersistentVolume (persistentVolumeReclaimPolicy)] ***
skipping: [localhost]
TASK [common : Kubesphere | Delete elasticsearch] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Waiting for seconds] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy elasticsearch-logging] **********************
skipping: [localhost]
TASK [common : Kubesphere | import es status] **********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy elasticsearch-logging-curator] **************
changed: [localhost]
TASK [common : Kubesphere | Getting elasticsearch and curator installation files] ***
skipping: [localhost]
TASK [common : Kubesphere | Creating custom manifests] *************************
skipping: [localhost] => (item={'path': 'fluentbit', 'file': 'custom-fluentbit-fluentBit.yaml'})
skipping: [localhost] => (item={'path': 'init', 'file': 'custom-fluentbit-operator-deployment.yaml'})
skipping: [localhost] => (item={'path': 'migrator', 'file': 'custom-migrator-job.yaml'})
TASK [common : Kubesphere | Checking fluentbit-version] ************************
skipping: [localhost]
TASK [common : Kubesphere | Backup old fluentbit crd] **************************
skipping: [localhost]
TASK [common : Kubesphere | Deleting old fluentbit operator] *******************
skipping: [localhost] => (item={'type': 'deploy', 'name': 'logging-fluentbit-operator'})
skipping: [localhost] => (item={'type': 'fluentbits.logging.kubesphere.io', 'name': 'fluent-bit'})
skipping: [localhost] => (item={'type': 'ds', 'name': 'fluent-bit'})
skipping: [localhost] => (item={'type': 'crd', 'name': 'fluentbits.logging.kubesphere.io'})
TASK [common : Kubesphere | Prepare fluentbit operator setup] ******************
skipping: [localhost]
TASK [common : Kubesphere | Migrate fluentbit operator old config] *************
skipping: [localhost]
TASK [common : Kubesphere | Deploy new fluentbit operator] *********************
skipping: [localhost]
TASK [common : Kubesphere | import fluentbit status] ***************************
skipping: [localhost]
TASK [common : Setting persistentVolumeReclaimPolicy (mysql)] ******************
skipping: [localhost]
TASK [common : Setting persistentVolumeReclaimPolicy (etcd)] *******************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=41 changed=29 unreachable=0 failed=0 skipped=116 rescued=0 ignored=1
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
"msg": "Check roles/kubesphere-defaults/defaults/main.yml"
}
TASK [ks-core/prepare : KubeSphere | Check core components (1)] ****************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Check core components (2)] ****************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Check core components (3)] ****************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Check core components (4)] ****************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Update ks-core status] ********************
changed: [localhost]
TASK [ks-core/prepare : set_fact] **********************************************
ok: [localhost]
TASK [ks-core/prepare : KubeSphere | Create KubeSphere dir] ********************
ok: [localhost]
TASK [ks-core/prepare : KubeSphere | Getting installation init files] **********
changed: [localhost] => (item=ks-init)
TASK [ks-core/prepare : Kubesphere | Checking account init] ********************
skipping: [localhost]
TASK [ks-core/prepare : Kubesphere | Init account] *****************************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Init KubeSphere] **************************
changed: [localhost] => (item=iam-accounts.yaml)
changed: [localhost] => (item=webhook-secret.yaml)
changed: [localhost] => (item=users.iam.kubesphere.io.yaml)
TASK [ks-core/prepare : KubeSphere | Getting controls-system file] *************
changed: [localhost] => (item={'name': 'kubesphere-controls-system', 'file': 'kubesphere-controls-system.yaml'})
TASK [ks-core/prepare : KubeSphere | Installing controls-system] ***************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Generate kubeconfig-admin] ****************
skipping: [localhost]
TASK [ks-core/init-token : KubeSphere | Create KubeSphere dir] *****************
ok: [localhost]
TASK [ks-core/init-token : KubeSphere | Getting installation init files] *******
changed: [localhost] => (item=jwt-script)
TASK [ks-core/init-token : KubeSphere | Creating KubeSphere Secret] ************
changed: [localhost]
TASK [ks-core/init-token : KubeSphere | Creating KubeSphere Secret] ************
ok: [localhost]
TASK [ks-core/init-token : KubeSphere | Creating KubeSphere Secret] ************
skipping: [localhost]
TASK [ks-core/init-token : KubeSphere | Enable Token Script] *******************
changed: [localhost]
TASK [ks-core/init-token : KubeSphere | Getting KS Token] **********************
changed: [localhost]
TASK [ks-core/init-token : Kubesphere | Checking kubesphere secrets] ***********
changed: [localhost]
TASK [ks-core/init-token : Kubesphere | Delete kubesphere secret] **************
skipping: [localhost]
TASK [ks-core/init-token : KubeSphere | Create components token] ***************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting kubernetes version] ***************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Setting kubernetes version] ***************
ok: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting kubernetes master num] ************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Setting master num] ***********************
ok: [localhost]
TASK [ks-core/ks-core : ks-console | Checking ks-console svc] ******************
changed: [localhost]
TASK [ks-core/ks-core : ks-console | Getting ks-console svc port] **************
changed: [localhost]
TASK [ks-core/ks-core : ks-console | Setting console_port] *********************
ok: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting Ingress installation files] *******
changed: [localhost] => (item=ingress)
changed: [localhost] => (item=ks-apiserver)
changed: [localhost] => (item=ks-console)
changed: [localhost] => (item=ks-controller-manager)
TASK [ks-core/ks-core : KubeSphere | Creating manifests] ***********************
changed: [localhost] => (item={'path': 'ingress', 'file': 'ingress-controller.yaml', 'type': 'config'})
changed: [localhost] => (item={'path': 'ks-apiserver', 'file': 'ks-apiserver.yml', 'type': 'deploy'})
changed: [localhost] => (item={'path': 'ks-controller-manager', 'file': 'ks-controller-manager.yaml', 'type': 'deploy'})
changed: [localhost] => (item={'path': 'ks-console', 'file': 'ks-console-config.yml', 'type': 'config'})
changed: [localhost] => (item={'path': 'ks-console', 'file': 'ks-console-deployment.yml', 'type': 'deploy'})
changed: [localhost] => (item={'path': 'ks-console', 'file': 'ks-console-svc.yml', 'type': 'svc'})
changed: [localhost] => (item={'path': 'ks-console', 'file': 'sample-bookinfo-configmap.yaml', 'type': 'config'})
TASK [ks-core/ks-core : KubeSphere | Delete Ingress-controller configmap] ******
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Creating Ingress-controller configmap] ****
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Creating ks-core] *************************