-
Choerodon平台版本: 1.0.0
-
遇到问题的执行步骤:一键部署,我是用的是xxx.10.244.115.145.nip.io域名对应不同的服务,10.244.115.145是ingress svc的ip地址,这样做一键部署时候域名校验通过了,pod也都在创建中。但是等一会后提示lost connection to pod了,查看status=CrashLoopBackOff的harbor对应pod详情,提示如下信息:
-
报错日志:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 26m default-scheduler Successfully assigned c7n-system/harbor-harbor-core-66494ff4bb-z7lcs to 192.168.1.7
Warning Failed 9m58s kubelet Failed to pull image "goharbor/harbor-core:v2.1.4": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/goharbor/harbor-core:v2.1.4": failed to copy: read tcp [2409:8a00:7899:ffa0:15ac:6b2e:6c8c:b831]:49656->[2606:4700::6812:7c19]:443: read: connection reset by peer
Warning Failed 9m58s kubelet Error: ErrImagePull
Normal BackOff 9m57s kubelet Back-off pulling image "goharbor/harbor-core:v2.1.4"
Warning Failed 9m57s kubelet Error: ImagePullBackOff
Normal Pulling 9m44s (x2 over 26m) kubelet Pulling image "goharbor/harbor-core:v2.1.4"
Normal Pulled 5m24s kubelet Successfully pulled image "goharbor/harbor-core:v2.1.4" in 4m20.033690274s
Normal Created 4m12s (x4 over 5m24s) kubelet Created container core
Normal Started 4m12s (x4 over 5m24s) kubelet Started container core
Normal Pulled 4m12s (x3 over 5m12s) kubelet Container image "goharbor/harbor-core:v2.1.4" already present on machine
Warning BackOff 3m36s (x9 over 5m4s) kubelet Back-off restarting failed container
W0311 23:51:33.527204 80608 warnings.go:67] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0311 23:51:33.898190 80608 warnings.go:67] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
INFO[0143] request http://app.10.244.115.145.nip.io/c7n/acme-challenge
INFO[0145] Start installing release gitlab
INFO[0145] gitlab performs the necessary pre-operations
INFO[0145] installing gitlab
W0311 23:51:38.137477 80608 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0311 23:51:38.592257 80608 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
INFO[0147] gitlab performs the necessary post operations
INFO[0147] Successfully installed gitlab
INFO[0147] Start installing release chartmuseum
INFO[0147] chartmuseum performs the necessary pre-operations
INFO[0147] installing chartmuseum
W0311 23:51:40.653271 80608 warnings.go:67] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0311 23:51:41.001453 80608 warnings.go:67] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
INFO[0150] chartmuseum performs the necessary post operations
INFO[0150] Successfully installed chartmuseum
INFO[0150] Start installing release c7n-mysql
INFO[0150] c7n-mysql performs the necessary pre-operations
INFO[0150] installing c7n-mysql
INFO[0153] c7n-mysql performs the necessary post operations
INFO[0153] Successfully installed c7n-mysql
INFO[0153] Start installing release harbor
INFO[0153] harbor performs the necessary pre-operations
INFO[0153] installing harbor
W0311 23:51:48.784405 80608 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0311 23:51:49.533433 80608 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
INFO[0158] harbor performs the necessary post operations
INFO[0158] Successfully installed harbor
INFO[0158] Start installing release elasticsearch-kb
INFO[0158] elasticsearch-kb performs the necessary pre-operations
INFO[0158] installing elasticsearch-kb
INFO[0161] elasticsearch-kb performs the necessary post operations
INFO[0161] Successfully installed elasticsearch-kb
INFO[0161] Start installing release c7n-redis
INFO[0162] c7n-redis performs the necessary pre-operations
INFO[0162] installing c7n-redis
INFO[0164] c7n-redis performs the necessary post operations
INFO[0164] Successfully installed c7n-redis
INFO[0164] Start installing release sonatype-nexus
INFO[0164] sonatype-nexus performs the necessary pre-operations
INFO[0164] installing sonatype-nexus
W0311 23:51:57.836618 80608 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0311 23:51:58.435005 80608 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
E0312 00:01:33.902580 80608 portforward.go:233] lost connection to pod
E0312 00:03:07.314677 80608 portforward.go:233] lost connection to pod
接下来我该怎么办?等着吗