创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。

操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G

Kubernetes版本信息
kubectl version 命令执行结果贴在下方

容器运行时
docker version / crictl version / nerdctl version 结果贴在下方

KubeSphere版本信息
例如:v3.3.2。在线安装。使用kk安装。

问题是什么
安装时为单集群安装了devops 此时ks-installer中multicluster.clusterRole为none

然后将multicluster.clusterRole为改为host 当成多集群主集群 点击确认后报task devops status is failed(⅗)

报错

PLAY RECAP *********************************************************************

 localhost                  : ok=30   changed=17   unreachable=0    failed=0    skipped=17   rescued=0    ignored=0   

 Start installing monitoring

 Start installing multicluster

 Start installing openpitrix

 Start installing network

 Start installing devops

 **************************************************

 Waiting for all tasks to be completed ...

 task openpitrix status is successful  (1/5)

 task network status is successful  (2/5)

 task devops status is failed  (3/5)

 task monitoring status is successful  (4/5)

 task multicluster status is successful  (5/5)

 **************************************************

 Collecting installation results ...

 

 

 Task 'devops' failed:

 ******************************************************************************************************************************************************

 {

   "counter": 132,

   "created": "2024-09-20T06:02:50.477518",

   "end_line": 161,

   "event": "runner_on_failed",

   "event_data": {

     "duration": 65.006257,

     "end": "2024-09-20T06:02:50.477363",

     "event_loop": null,

     "host": "localhost",

     "ignore_errors": null,

     "play": "localhost",

     "play_pattern": "localhost",

     "play_uuid": "023d41a5-04f5-ffe1-5a74-000000000005",

     "playbook": "/kubesphere/playbooks/devops.yaml",

     "playbook_uuid": "196810fd-7cf5-474a-9fc0-1649d4e7771b",

     "remote_addr": "127.0.0.1",

     "res": {

       "changed": true,

       "msg": "All items completed",

       "results": [

         {

           "_ansible_item_label": {

             "kind": "secrets",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2i-webhook-server-cert"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get secrets s2i-webhook-server-cert 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite secrets s2i-webhook-server-cert meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite secrets s2i-webhook-server-cert meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite secrets s2i-webhook-server-cert app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.108202",

           "end": "2024-09-20 14:01:49.175774",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get secrets s2i-webhook-server-cert 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite secrets s2i-webhook-server-cert meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite secrets s2i-webhook-server-cert meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite secrets s2i-webhook-server-cert app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "secrets",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2i-webhook-server-cert"

           },

           "rc": 0,

           "start": "2024-09-20 14:01:47.067572",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "secret/s2i-webhook-server-cert annotated\nsecret/s2i-webhook-server-cert annotated\nsecret/s2i-webhook-server-cert not labeled",

           "stdout_lines": [

             "secret/s2i-webhook-server-cert annotated",

             "secret/s2i-webhook-server-cert annotated",

             "secret/s2i-webhook-server-cert not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "configmap",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "jenkins-casc-config"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get configmap jenkins-casc-config 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap jenkins-casc-config meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap jenkins-casc-config meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite configmap jenkins-casc-config app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.191812",

           "end": "2024-09-20 14:01:52.768502",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get configmap jenkins-casc-config 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap jenkins-casc-config meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap jenkins-casc-config meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite configmap jenkins-casc-config app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "configmap",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "jenkins-casc-config"

           },

           "rc": 0,

           "start": "2024-09-20 14:01:50.576690",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "configmap/jenkins-casc-config annotated\nconfigmap/jenkins-casc-config annotated\nconfigmap/jenkins-casc-config not labeled",

           "stdout_lines": [

             "configmap/jenkins-casc-config annotated",

             "configmap/jenkins-casc-config annotated",

             "configmap/jenkins-casc-config not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "configmap",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "ks-devops-agent"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get configmap ks-devops-agent 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap ks-devops-agent meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap ks-devops-agent meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite configmap ks-devops-agent app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:00.399824",

           "end": "2024-09-20 14:01:54.766528",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get configmap ks-devops-agent 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap ks-devops-agent meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap ks-devops-agent meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite configmap ks-devops-agent app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "configmap",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "ks-devops-agent"

           },

           "rc": 0,

           "start": "2024-09-20 14:01:54.366704",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "",

           "stdout_lines": []

         },

         {

           "_ansible_item_label": {

             "kind": "clusterrole",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "manager-role"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get clusterrole manager-role 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole manager-role meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole manager-role meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite clusterrole manager-role app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:01.990027",

           "end": "2024-09-20 14:01:58.168277",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get clusterrole manager-role 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole manager-role meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole manager-role meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite clusterrole manager-role app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "clusterrole",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "manager-role"

           },

           "rc": 0,

           "start": "2024-09-20 14:01:56.178250",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "clusterrole.rbac.authorization.k8s.io/manager-role annotated\nclusterrole.rbac.authorization.k8s.io/manager-role annotated\nclusterrole.rbac.authorization.k8s.io/manager-role not labeled",

           "stdout_lines": [

             "clusterrole.rbac.authorization.k8s.io/manager-role annotated",

             "clusterrole.rbac.authorization.k8s.io/manager-role annotated",

             "clusterrole.rbac.authorization.k8s.io/manager-role not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "clusterrole",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "proxy-role"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get clusterrole proxy-role 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole proxy-role meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole proxy-role meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite clusterrole proxy-role app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:01.913374",

           "end": "2024-09-20 14:02:01.384274",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get clusterrole proxy-role 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole proxy-role meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole proxy-role meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite clusterrole proxy-role app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "clusterrole",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "proxy-role"

           },

           "rc": 0,

           "start": "2024-09-20 14:01:59.470900",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "clusterrole.rbac.authorization.k8s.io/proxy-role annotated\nclusterrole.rbac.authorization.k8s.io/proxy-role annotated\nclusterrole.rbac.authorization.k8s.io/proxy-role not labeled",

           "stdout_lines": [

             "clusterrole.rbac.authorization.k8s.io/proxy-role annotated",

             "clusterrole.rbac.authorization.k8s.io/proxy-role annotated",

             "clusterrole.rbac.authorization.k8s.io/proxy-role not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "ClusterRoleBinding",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "manager-rolebinding"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ClusterRoleBinding manager-rolebinding 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding manager-rolebinding meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding manager-rolebinding meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ClusterRoleBinding manager-rolebinding app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.187374",

           "end": "2024-09-20 14:02:05.268484",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ClusterRoleBinding manager-rolebinding 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding manager-rolebinding meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding manager-rolebinding meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ClusterRoleBinding manager-rolebinding app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "ClusterRoleBinding",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "manager-rolebinding"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:03.081110",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "clusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding annotated\nclusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding annotated\nclusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding not labeled",

           "stdout_lines": [

             "clusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding annotated",

             "clusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding annotated",

             "clusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "ClusterRoleBinding",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "proxy-rolebinding"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ClusterRoleBinding proxy-rolebinding 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding proxy-rolebinding meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding proxy-rolebinding meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ClusterRoleBinding proxy-rolebinding app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.003037",

           "end": "2024-09-20 14:02:08.570522",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ClusterRoleBinding proxy-rolebinding 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding proxy-rolebinding meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding proxy-rolebinding meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ClusterRoleBinding proxy-rolebinding app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "ClusterRoleBinding",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "proxy-rolebinding"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:06.567485",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "clusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding annotated\nclusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding annotated\nclusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding not labeled",

           "stdout_lines": [

             "clusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding annotated",

             "clusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding annotated",

             "clusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "service",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2ioperator-metrics-service"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2ioperator-metrics-service 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-metrics-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-metrics-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2ioperator-metrics-service app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.206328",

           "end": "2024-09-20 14:02:12.168277",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2ioperator-metrics-service 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-metrics-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-metrics-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2ioperator-metrics-service app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "service",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2ioperator-metrics-service"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:09.961949",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "service/s2ioperator-metrics-service annotated\nservice/s2ioperator-metrics-service annotated\nservice/s2ioperator-metrics-service not labeled",

           "stdout_lines": [

             "service/s2ioperator-metrics-service annotated",

             "service/s2ioperator-metrics-service annotated",

             "service/s2ioperator-metrics-service not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "service",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2i-trigger-service"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2i-trigger-service 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2i-trigger-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2i-trigger-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2i-trigger-service app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:00.507031",

           "end": "2024-09-20 14:02:13.966623",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2i-trigger-service 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2i-trigger-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2i-trigger-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2i-trigger-service app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "service",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2i-trigger-service"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:13.459592",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "",

           "stdout_lines": []

         },

         {

           "_ansible_item_label": {

             "kind": "service",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "webhook-server-service"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service webhook-server-service 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service webhook-server-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service webhook-server-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service webhook-server-service app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:01.906965",

           "end": "2024-09-20 14:02:17.285530",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service webhook-server-service 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service webhook-server-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service webhook-server-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service webhook-server-service app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "service",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "webhook-server-service"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:15.378565",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "service/webhook-server-service annotated\nservice/webhook-server-service annotated\nservice/webhook-server-service not labeled",

           "stdout_lines": [

             "service/webhook-server-service annotated",

             "service/webhook-server-service annotated",

             "service/webhook-server-service not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "service",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2ioperator-trigger-service"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2ioperator-trigger-service 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-trigger-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-trigger-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2ioperator-trigger-service app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:01.993404",

           "end": "2024-09-20 14:02:20.473583",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2ioperator-trigger-service 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-trigger-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-trigger-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2ioperator-trigger-service app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "service",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2ioperator-trigger-service"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:18.480179",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "service/s2ioperator-trigger-service annotated\nservice/s2ioperator-trigger-service annotated\nservice/s2ioperator-trigger-service not labeled",

           "stdout_lines": [

             "service/s2ioperator-trigger-service annotated",

             "service/s2ioperator-trigger-service annotated",

             "service/s2ioperator-trigger-service not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "StatefulSet",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2ioperator"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get StatefulSet s2ioperator 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite StatefulSet s2ioperator meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite StatefulSet s2ioperator meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite StatefulSet s2ioperator app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.381710",

           "end": "2024-09-20 14:02:24.157728",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get StatefulSet s2ioperator 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite StatefulSet s2ioperator meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite StatefulSet s2ioperator meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite StatefulSet s2ioperator app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "StatefulSet",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "s2ioperator"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:21.776018",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "statefulset.apps/s2ioperator annotated\nstatefulset.apps/s2ioperator annotated\nstatefulset.apps/s2ioperator not labeled",

           "stdout_lines": [

             "statefulset.apps/s2ioperator annotated",

             "statefulset.apps/s2ioperator annotated",

             "statefulset.apps/s2ioperator not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "MutatingWebhookConfiguration",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "mutating-webhook-configuration"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get MutatingWebhookConfiguration mutating-webhook-configuration 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite MutatingWebhookConfiguration mutating-webhook-configuration meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite MutatingWebhookConfiguration mutating-webhook-configuration meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite MutatingWebhookConfiguration mutating-webhook-configuration app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.192234",

           "end": "2024-09-20 14:02:27.863186",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get MutatingWebhookConfiguration mutating-webhook-configuration 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite MutatingWebhookConfiguration mutating-webhook-configuration meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite MutatingWebhookConfiguration mutating-webhook-configuration meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite MutatingWebhookConfiguration mutating-webhook-configuration app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "MutatingWebhookConfiguration",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "mutating-webhook-configuration"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:25.670952",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "mutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration annotated\nmutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration annotated\nmutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration not labeled",

           "stdout_lines": [

             "mutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration annotated",

             "mutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration annotated",

             "mutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "ValidatingWebhookConfiguration",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "validating-webhook-configuration"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ValidatingWebhookConfiguration validating-webhook-configuration 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ValidatingWebhookConfiguration validating-webhook-configuration meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ValidatingWebhookConfiguration validating-webhook-configuration meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ValidatingWebhookConfiguration validating-webhook-configuration app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.289040",

           "end": "2024-09-20 14:02:31.657726",

           "failed": false,

           "failed_when_result": false,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ValidatingWebhookConfiguration validating-webhook-configuration 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ValidatingWebhookConfiguration validating-webhook-configuration meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ValidatingWebhookConfiguration validating-webhook-configuration meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ValidatingWebhookConfiguration validating-webhook-configuration app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "ValidatingWebhookConfiguration",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "validating-webhook-configuration"

           },

           "rc": 0,

           "start": "2024-09-20 14:02:29.368686",

           "stderr": "",

           "stderr_lines": [],

           "stdout": "validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration annotated\nvalidatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration annotated\nvalidatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration not labeled",

           "stdout_lines": [

             "validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration annotated",

             "validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration annotated",

             "validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration not labeled"

           ]

         },

         {

           "_ansible_item_label": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "binary"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate binary 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate binary meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate binary meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate binary app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.389680",

           "end": "2024-09-20 14:02:35.570216",

           "failed": true,

           "failed_when_result": true,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate binary 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate binary meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate binary meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate binary app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "binary"

           },

           "msg": "non-zero return code",

           "rc": 1,

           "start": "2024-09-20 14:02:33.180536",

           "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:34Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:35Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:35Z is after 2024-02-14T06:08:48Z",

           "stderr_lines": [

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:34Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:35Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:35Z is after 2024-02-14T06:08:48Z"

           ],

           "stdout": "",

           "stdout_lines": []

         },

         {

           "_ansible_item_label": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "java"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate java 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate java meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate java meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate java app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.199156",

           "end": "2024-09-20 14:02:39.265543",

           "failed": true,

           "failed_when_result": true,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate java 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate java meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate java meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate java app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "java"

           },

           "msg": "non-zero return code",

           "rc": 1,

           "start": "2024-09-20 14:02:37.066387",

           "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:37Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:38Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:39Z is after 2024-02-14T06:08:48Z",

           "stderr_lines": [

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:37Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:38Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:39Z is after 2024-02-14T06:08:48Z"

           ],

           "stdout": "",

           "stdout_lines": []

         },

         {

           "_ansible_item_label": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "nodejs"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate nodejs 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate nodejs meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate nodejs meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate nodejs app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.581517",

           "end": "2024-09-20 14:02:43.057248",

           "failed": true,

           "failed_when_result": true,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate nodejs 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate nodejs meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate nodejs meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate nodejs app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "nodejs"

           },

           "msg": "non-zero return code",

           "rc": 1,

           "start": "2024-09-20 14:02:40.475731",

           "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:41Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:42Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:42Z is after 2024-02-14T06:08:48Z",

           "stderr_lines": [

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:41Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:42Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:42Z is after 2024-02-14T06:08:48Z"

           ],

           "stdout": "",

           "stdout_lines": []

         },

         {

           "_ansible_item_label": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "tomcat"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate tomcat 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate tomcat meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate tomcat meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate tomcat app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.391151",

           "end": "2024-09-20 14:02:46.474177",

           "failed": true,

           "failed_when_result": true,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate tomcat 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate tomcat meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate tomcat meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate tomcat app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "tomcat"

           },

           "msg": "non-zero return code",

           "rc": 1,

           "start": "2024-09-20 14:02:44.083026",

           "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:45Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:45Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:46Z is after 2024-02-14T06:08:48Z",

           "stderr_lines": [

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:45Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:45Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:46Z is after 2024-02-14T06:08:48Z"

           ],

           "stdout": "",

           "stdout_lines": []

         },

         {

           "_ansible_item_label": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "python"

           },

           "_ansible_no_log": false,

           "ansible_loop_var": "item",

           "changed": true,

           "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate python 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate python meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate python meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate python app.kubernetes.io/managed-by=Helm; fi\n",

           "delta": "0:00:02.315937",

           "end": "2024-09-20 14:02:50.180801",

           "failed": true,

           "failed_when_result": true,

           "invocation": {

             "module_args": {

               "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate python 2> /dev/null | head -n 1); if [[ \"$RESOURCE\" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate python meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate python meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate python app.kubernetes.io/managed-by=Helm; fi\n",

               "_uses_shell": true,

               "argv": null,

               "chdir": null,

               "creates": null,

               "executable": "/bin/bash",

               "removes": null,

               "stdin": null,

               "stdin_add_newline": true,

               "strip_empty_ends": true,

               "warn": true

             }

           },

           "item": {

             "kind": "S2iBuilderTemplate",

             "ns": "kubesphere-devops-system",

             "release": "devops",

             "resource": "python"

           },

           "msg": "non-zero return code",

           "rc": 1,

           "start": "2024-09-20 14:02:47.864864",

           "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:48Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:49Z is after 2024-02-14T06:08:48Z\nError from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:50Z is after 2024-02-14T06:08:48Z",

           "stderr_lines": [

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:48Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:49Z is after 2024-02-14T06:08:48Z",

             "Error from server (InternalError): Internal error occurred: failed calling webhook \"s2ibuildertemplate.kb.io\": Post \"https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s\": x509: certificate has expired or is not yet valid: current time 2024-09-20T06:02:50Z is after 2024-02-14T06:08:48Z"

           ],

           "stdout": "",

           "stdout_lines": []

         }

       ]

     },

     "resolved_action": "shell",

     "role": "ks-devops",

     "start": "2024-09-20T06:01:45.471106",

     "task": "ks-devops | Convert ks-devops to helm mananged",

     "task_action": "shell",

     "task_args": "",

     "task_path": "/kubesphere/installer/roles/ks-devops/tasks/main.yaml:132",

     "task_uuid": "023d41a5-04f5-ffe1-5a74-00000000003f",

     "uuid": "82daef49-e1c9-4bbe-bec6-4ea8091e61d6"

   },

   "parent_uuid": "023d41a5-04f5-ffe1-5a74-00000000003f",

   "pid": 46061,

   "runner_ident": "devops",

   "start_line": 161,

   "stdout": "",

   "uuid": "82daef49-e1c9-4bbe-bec6-4ea8091e61d6"

 }

配置

  monitoring:
    gpu:
      nvidia_dcgm_exporter:
        enabled: false
    node_exporter:
      port: 9100
    storageClass: ''
  multicluster:
    clusterRole: host
  network:
    ippool:
      type: none
[root@k8s-master ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.9", GitCommit:"7a576bc3935a6b555e33346fd73ad77c925e9e4a", GitTreeState:"clean", BuildDate:"2021-07-15T21:01:38Z", GoVersion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.9", GitCommit:"7a576bc3935a6b555e33346fd73ad77c925e9e4a", GitTreeState:"clean", BuildDate:"2021-07-15T20:56:38Z", GoVersion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"}
    18 天 后