1.开启KubeSphere 服务网格,按照
在安装后启用服务网格操作

2.kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath=‘{.items[0].metadata.name}’) -f
`TASK [ks-core/ks-core : KubeSphere | Creating ks-core] *************************
changed: [localhost] => (item={‘path’: ‘ks-apiserver’, ‘file’: ‘ks-apiserver.yml’})
changed: [localhost] => (item={‘path’: ‘ks-controller-manager’, ‘file’: ‘ks-controller-manager.yaml’})
v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n \\ devops: \\n sonarqubeURL: http://10.111.97.64:31103\\n\\"},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"] \“creationTimestamp\”:\“2021-01-25T07:32:51Z\” \“name\”:\“ks-console-config\” \“namespace\”:\“kubesphere-system\” \“resourceVersion\”:\“2133878\” \“selfLink\”:\“/api/v1/namespaces/kubesphere-system/configmaps/ks-console-config\” \“uid\”:\“1ab663d9-bc80-426c-bec6-edab0f399c25\”]]}\nfor: \“/kubesphere/kubesphere/ks-console/ks-console-config.yml\”: error when creating patch with:\noriginal:\n{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n \ devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{},\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”}}\n\nmodified:\n{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"},\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”}}\n\ncurrent:\n{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n \\ devops: \\n sonarqubeURL: http://10.111.97.64:31103\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"},\“creationTimestamp\”:\“2021-01-25T07:32:51Z\”,\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”,\“resourceVersion\”:\“2133878\”,\“selfLink\”:\“/api/v1/namespaces/kubesphere-system/configmaps/ks-console-config\”,\“uid\”:\“1ab663d9-bc80-426c-bec6-edab0f399c25\”}}\n\nfor: \“/kubesphere/kubesphere/ks-console/ks-console-config.yml\”: invalid JSON document", “stderr_lines”: [“warning: error calculating patch from openapi spec: invalid JSON document”, “error: error when applying patch:”, "", “to:”, “Resource: \”/v1, Resource=configmaps\“, GroupVersionKind: \”/v1, Kind=ConfigMap\"", "Name: \“ks-console-config\”, Namespace: \“kubesphere-system\”", "Object: &{map[\“apiVersion\”:\“v1\” \“data\”:map[\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”] \“kind\”:\“ConfigMap\” \“metadata\”:map[\“annotations\”:map[\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n \\ devops: \\n sonarqubeURL: http://10.111.97.64:31103\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"] \“creationTimestamp\”:\“2021-01-25T07:32:51Z\” \“name\”:\“ks-console-config\” \“namespace\”:\“kubesphere-system\” \“resourceVersion\”:\“2133878\” \“selfLink\”:\“/api/v1/namespaces/kubesphere-system/configmaps/ks-console-config\” \“uid\”:\“1ab663d9-bc80-426c-bec6-edab0f399c25\”]]}", “for: \”/kubesphere/kubesphere/ks-console/ks-console-config.yml\“: error when creating patch with:”, “original:”, "{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n \ devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{},\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”}}“, ”", “modified:”, "{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"},\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”}}“, ”", “current:”, "{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\"server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphfailed: [localhost] (item={‘path’: ‘ks-console’, ‘file’: ‘ks-console-config.yml’}) => {“ansible_loop_var”: “item”, “changed”: true, “cmd”: [“/usr/local/bin/kubectl”, “apply”, “-f”, “/kubesphere/kubesphere/ks-console/ks-console-config.yml”, “–force”], “delta”: “0:00:00.291710”, “end”: “2021-02-03 15:12:32.049170”, “failed_when_result”: true, “item”: {“file”: “ks-console-config.yml”, “path”: “ks-console”}, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-02-03 15:12:31.757460”, “stderr”: “warning: error calculating patch from openapi spec: invalid JSON document\nerror: error when applying patch:\n\nto:\nResource: \”/v1, Resource=configmaps\“, GroupVersionKind: \”/v1, Kind=ConfigMap\"\nName: \“ks-console-config\”, Namespace: \“kubesphere-system\”\nObject: &{map[\“apiVersion\”:\“v1\” \“data\”:map[\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”] \“kind\”:\“ConfigMap\” \“metadata\”:map[\“annotations\”:map[\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n \\ devops: \\n sonarqubeURL: http://10.111.97.64:31103\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"] \“creationTimestamp\”:\“2021-01-25T07:32:51Z\” \“name\”:\“ks-console-config\” \“namespace\”:\“kubesphere-system\” \“resourceVersion\”:\“2133878\” \“selfLink\”:\“/api/v1/namespaces/kubesphere-system/configmaps/ks-console-config\” \“uid\”:\“1ab663d9-bc80-426c-bec6-edab0f399c25\”]]}\nfor: \“/kubesphere/kubesphere/ks-console/ks-console-config.yml\”: error when creating patch with:\noriginal:\n{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n \ devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{},\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”}}\n\nmodified:\n{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"},\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”}}\n\ncurrent:\n{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n \\ devops: \\n sonarqubeURL: http://10.111.97.64:31103\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"},\“creationTimestamp\”:\“2021-01-25T07:32:51Z\”,\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”,\“resourceVersion\”:\“2133878\”,\“selfLink\”:\“/api/v1/namespaces/kubesphere-system/configmaps/ks-console-config\”,\“uid\”:\“1ab663d9-bc80-426c-bec6-edab0f399c25\”}}\n\nfor: \“/kubesphere/kubesphere/ks-console/ks-console-config.yml\”: invalid JSON document", “stderr_lines”: [“warning: error calculating patch from openapi spec: invalid JSON document”, “error: error when applying patch:”, "", “to:”, “Resource: \”/v1, Resource=configmaps\“, GroupVersionKind: \”/v1, Kind=ConfigMap\"", "Name: \“ks-console-config\”, Namespace: \“kubesphere-system\”", "Object: &{map[\“apiVersion\”:\“v1\” \“data\”:map[\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”] \“kind\”:\“ConfigMap\” \“metadata\”:map[\“annotations\”:map[\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n \\ devops: \\n sonarqubeURL: http://10.111.97.64:31103\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"] \“creationTimestamp\”:\“2021-01-25T07:32:51Z\” \“name\”:\“ks-console-config\” \“namespace\”:\“kubesphere-system\” \“resourceVersion\”:\“2133878\” \“selfLink\”:\“/api/v1/namespaces/kubesphere-system/configmaps/ks-console-config\” \“uid\”:\“1ab663d9-bc80-426c-bec6-edab0f399c25\”]]}", “for: \”/kubesphere/kubesphere/ks-console/ks-console-config.yml\“: error when creating patch with:”, “original:”, "{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n \ devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{},\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”}}“, ”", “modified:”, "{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"},\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”}}“, ”", “current:”, "{\“apiVersion\”:\“v1\”,\“data\”:{\“local_config.yaml\”:\“server:\n http:\n hostname: localhost\n port: 8000\n static:\n production:\n /public: server/public\n /assets: dist/assets\n /dist: dist\n redis:\n port: 6379\n host: redis.kubesphere-system.svc\n redisTimeout: 5000\n sessionTimeout: 7200000\nclient:\n version:\n kubesphere: v3.0.0\n kubernetes: v1.17.9\n openpitrix: v0.3.5\n enableKubeConfig: true\n devops: \n sonarqubeURL: http://10.111.97.64:31103\n\”},\“kind\”:\“ConfigMap\”,\“metadata\”:{\“annotations\”:{\“kubectl.kubernetes.io/last-applied-configuration\”:\"{\\“apiVersion\\”:\\“v1\\”,\\“data\\”:{\\“local_config.yaml\\”:\\“server:\\n http:\\n hostname: localhost\\n port: 8000\\n static:\\n production:\\n /public: server/public\\n /assets: dist/assets\\n /dist: dist\\n redis:\\n port: 6379\\n host: redis.kubesphere-system.svc\\n redisTimeout: 5000\\n sessionTimeout: 7200000\\nclient:\\n version:\\n kubesphere: v3.0.0\\n kubernetes: v1.17.9\\n openpitrix: v0.3.5\\n enableKubeConfig: true\\n \\ devops: \\n sonarqubeURL: http://10.111.97.64:31103\\n\\”},\\“kind\\”:\\“ConfigMap\\”,\\“metadata\\”:{\\“annotations\\”:{},\\“name\\”:\\“ks-console-config\\”,\\“namespace\\”:\\“kubesphere-system\\”}}\n\"},\“creationTimestamp\”:\“2021-01-25T07:32:51Z\”,\“name\”:\“ks-console-config\”,\“namespace\”:\“kubesphere-system\”,\“resourceVersion\”:\“2133878\”,\“selfLink\”:\“/api/v1/namespaces/kubesphere-system/configmaps/ks-console-config\”,\“uid\”:\“1ab663d9-bc80-426c-bec6-edab0f399c25\”}}“, ”", “for: \”/kubesphere/kubesphere/ks-console/ks-console-config.yml\“: invalid JSON document”], “stdout”: "", “stdout_lines”: []}
changed: [localhost] => (item={‘path’: ‘ks-console’, ‘file’: ‘sample-bookinfo-configmap.yaml’})
changed: [localhost] => (item={‘path’: ‘ks-console’, ‘file’: ‘ks-console-deployment.yml’})
PLAY RECAP *********************************************************************
localhost : ok=28 changed=17 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0 `