Open errorcode7 opened 4 years ago
反复试了几次还是这样, istio-init-crd-12没有跑起来。
先看看istio-init-crd-12这个job在不在,是不是执行失败了;helm list 看看istio-init正不正常,或者helm del --purge istio-init试试
[root@master ~]# helm list
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
elasticsearch-logging 2 Fri Nov 15 13:58:57 2019 DEPLOYED elasticsearch-1.22.1 6.7.0 kubesphere-logging-system
elasticsearch-logging-curator 2 Fri Nov 15 13:58:58 2019 DEPLOYED elasticsearch-curator-1.3.3 5.5.4 kubesphere-logging-system
istio-init 2 Fri Nov 15 13:59:45 2019 DEPLOYED istio-init-1.3.2 1.3.2 istio-system
ks-jenkins 3 Fri Nov 15 13:59:18 2019 DEPLOYED jenkins-0.19.0 2.121.3 kubesphere-devops-system
ks-minio 3 Fri Nov 15 13:57:51 2019 DEPLOYED minio-2.5.16 RELEASE.2019-08-07T01-59-21Z kubesphere-system
ks-openldap 5 Fri Nov 15 13:57:44 2019 DEPLOYED openldap-ha-0.1.0 1.0 kubesphere-system
logging-fluentbit-operator 2 Fri Nov 15 13:58:56 2019 DEPLOYED fluentbit-operator-0.1.0 0.1.0 kubesphere-logging-system
metrics-server 3 Fri Nov 15 13:58:52 2019 DEPLOYED metrics-server-2.5.0 0.3.1 kube-system
uc 3 Fri Nov 15 13:58:49 2019 DEPLOYED jenkins-update-center-0.8.0 1.0 kubesphere-devops-system
[root@master ~]# kubectl describe job istio-init-crd-12-1.3.3 -n istio-system
Name: istio-init-crd-12-1.3.3
Namespace: istio-system
Selector: controller-uid=5411a849-460b-4899-b330-7548df837d92
Labels: controller-uid=5411a849-460b-4899-b330-7548df837d92
job-name=istio-init-crd-12-1.3.3
Annotations: revisions:
{"1":{"status":"failed","reasons":["BackoffLimitExceeded"],"messages":["Job has reached the specified backoff limit"],"desire":1,"failed":...
Parallelism: 1
Completions: 1
Start Time: Fri, 15 Nov 2019 13:48:55 +0800
Pods Statuses: 0 Running / 0 Succeeded / 1 Failed
Pod Template:
Labels: controller-uid=5411a849-460b-4899-b330-7548df837d92
job-name=istio-init-crd-12-1.3.3
Annotations: sidecar.istio.io/inject: false
Service Account: istio-init-service-account
Containers:
istio-init-crd-12:
Image: istio/kubectl:1.3.3
Port: <none>
Host Port: <none>
Command:
kubectl
apply
-f
/etc/istio/crd-12/crd-12.yaml
Environment: <none>
Mounts:
/etc/istio/crd-12 from crd-12 (ro)
Volumes:
crd-12:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: istio-crd-12
Optional: false
Events: <none>
[root@master ~]# helm del --purge istio-init
release "istio-init" deleted
[root@master ~]#
[root@master ~]#
[root@master ~]# helm list
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
elasticsearch-logging 2 Fri Nov 15 13:58:57 2019 DEPLOYED elasticsearch-1.22.1 6.7.0 kubesphere-logging-system
elasticsearch-logging-curator 2 Fri Nov 15 13:58:58 2019 DEPLOYED elasticsearch-curator-1.3.3 5.5.4 kubesphere-logging-system
ks-jenkins 3 Fri Nov 15 13:59:18 2019 DEPLOYED jenkins-0.19.0 2.121.3 kubesphere-devops-system
ks-minio 3 Fri Nov 15 13:57:51 2019 DEPLOYED minio-2.5.16 RELEASE.2019-08-07T01-59-21Z kubesphere-system
ks-openldap 5 Fri Nov 15 13:57:44 2019 DEPLOYED openldap-ha-0.1.0 1.0 kubesphere-system
logging-fluentbit-operator 2 Fri Nov 15 13:58:56 2019 DEPLOYED fluentbit-operator-0.1.0 0.1.0 kubesphere-logging-system
metrics-server 3 Fri Nov 15 13:58:52 2019 DEPLOYED metrics-server-2.5.0 0.3.1 kube-system
uc 3 Fri Nov 15 13:58:49 2019 DEPLOYED jenkins-update-center-0.8.0 1.0 kubesphere-devops-system
[root@master ~]# kubectl get pod -n istio-system
No resources found.
[root@master ~]# kubectl get jobs.batch -n istio-system
No resources found.
删除了,怎么再启动?
修改下kubesphere-system下的ks-installer这个configmap会重新触发安装。
再安装的时候注意下istio-init-crd-12相关的pod,看看为啥会运行失败。
可以了,不好意思,这么晚才回复。
执行
结果如下