kubectl -n kubesphere-system describe pod ks-apiserver-675bc84757-ql729
Name: ks-apiserver-675bc84757-ql729
Namespace: kubesphere-system
Priority: 0
Node: test-k8s-master3/10.68.2.40
Start Time: Sat, 14 Nov 2020 17:44:10 +0800
Labels: app=ks-apiserver
pod-template-hash=675bc84757
tier=backend
version=v3.0.0
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: ReplicaSet/ks-apiserver-675bc84757
Containers:
ks-apiserver:
Container ID:
Image: kubesphere/ks-apiserver:v3.0.0
Image ID:
Port: 9090/TCP
Host Port: 0/TCP
Command:
ks-apiserver
–logtostderr=true
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Limits:
cpu: 1
memory: 1Gi
Requests:
cpu: 20m
memory: 100Mi
Liveness: http-get http://:9090/kapis/version delay=15s timeout=15s period=10s #success=1 #failure=8
Environment: <none>
Mounts:
/etc/kubesphere/ from kubesphere-config (rw)
/etc/kubesphere/ingress-controller from ks-router-config (rw)
/etc/localtime from host-time (rw)
/var/run/docker.sock from docker-sock (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kubesphere-token-lfvdw (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
docker-sock:
Type: HostPath (bare host directory volume)
Path: /var/run/docker.sock
HostPathType:
ks-router-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: ks-router-config
Optional: false
kubesphere-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: kubesphere-config
Optional: false
host-time:
Type: HostPath (bare host directory volume)
Path: /etc/localtime
HostPathType:
kubesphere-token-lfvdw:
Type: Secret (a volume populated by a Secret)
SecretName: kubesphere-token-lfvdw
Optional: false
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: CriticalAddonsOnly
node-role.kubernetes.io/master:NoSchedule
node.kubernetes.io/not-ready:NoExecute for 60s
node.kubernetes.io/unreachable:NoExecute for 60s
Events:
Type Reason Age From Message
Normal Scheduled <unknown> default-scheduler Successfully assigned kubesphere-system/ks-apiserver-675bc84757-ql729 to test-k8s-master3
Warning FailedMount 25s (x8 over 89s) kubelet, test-k8s-master3 MountVolume.SetUp failed for volume “kubesphere-config” : configmap “kubesphere-config” not found