[root@kvm-10-112-76-53 ]# kubectl describe po/ks-account-7d57dc95fc-lk9wr -n kubesphere-system
Name: ks-account-7d57dc95fc-lk9wr
Namespace: kubesphere-system
Priority: 0
Node: 10.112.76.39/10.112.76.39
Start Time: Fri, 10 Apr 2020 15:14:19 +0800
Labels: app=ks-account
pod-template-hash=7d57dc95fc
tier=backend
version=v2.1.1
Annotations: <none>
Status: Pending
IP: 172.7.23.8
Controlled By: ReplicaSet/ks-account-7d57dc95fc
Init Containers:
wait-redis:
Container ID: docker://077fd3276a653cad891dbb1abc90dee3213a274f0ffa28c569472db587c39a16
Image: alpine:3.10.4
Image ID: docker-pullable://alpine@sha256:7c3773f7bcc969f03f8f653910001d99a9d324b4b9caa008846ad2c3089f5a5f
Port: <none>
Host Port: <none>
Command:
sh
-c
until nc -z redis.kubesphere-system.svc 6379; do echo “waiting for redis”; sleep 2; done;
State: Terminated
Reason: Completed
Exit Code: 0
Started: Fri, 10 Apr 2020 15:15:13 +0800
Finished: Fri, 10 Apr 2020 15:15:13 +0800
Ready: True
Restart Count: 0
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kubesphere-token-7vwkh (ro)
wait-ldap:
Container ID: docker://a598f5de413fa1a889ece198f12335c1f7cb48fab8856188401d1304f992ff10
Image: alpine:3.10.4
Image ID: docker-pullable://alpine@sha256:7c3773f7bcc969f03f8f653910001d99a9d324b4b9caa008846ad2c3089f5a5f
Port: <none>
Host Port: <none>
Command:
sh
-c
until nc -z openldap.kubesphere-system.svc 389; do echo “waiting for ldap”; sleep 2; done;
State: Running
Started: Fri, 10 Apr 2020 15:15:14 +0800
Ready: False
Restart Count: 0
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kubesphere-token-7vwkh (ro)
Containers:
ks-account:
Container ID:
Image: kubesphere/ks-account:v2.1.1
Image ID:
Port: 9090/TCP
Host Port: 0/TCP
Command:
ks-iam
–logtostderr=true
–jwt-secret=$(JWT_SECRET)
–admin-password=$(ADMIN_PASSWORD)
–enable-multi-login=False
–token-idle-timeout=40m
–redis-url=redis://redis.kubesphere-system.svc:6379
–generate-kubeconfig=true
State: Waiting
Reason: PodInitializing
Ready: False
Restart Count: 0
Limits:
cpu: 1
memory: 500Mi
Requests:
cpu: 20m
memory: 100Mi
Environment:
KUBECTL_IMAGE: kubesphere/kubectl:v1.0.0
JWT_SECRET: <set to the key ‘jwt-secret’ in secret ‘ks-account-secret’> Optional: false
ADMIN_PASSWORD: <set to the key ‘admin-password’ in secret ‘ks-account-secret’> Optional: false
Mounts:
/etc/ks-iam from user-init (rw)
/etc/kubesphere from kubesphere-config (rw)
/etc/kubesphere/rules from policy-rules (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kubesphere-token-7vwkh (ro)
Conditions:
Type Status
Initialized False
Ready False
ContainersReady False
PodScheduled True
Volumes:
policy-rules:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: policy-rules
Optional: false
user-init:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: user-init
Optional: false
kubesphere-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: kubesphere-config
Optional: false
kubesphere-token-7vwkh:
Type: Secret (a volume populated by a Secret)
SecretName: kubesphere-token-7vwkh
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 17m default-scheduler Successfully assigned kubesphere-system/ks-account-7d57dc95fc-lk9wr to 10.112.76.39
Normal Pulling 17m kubelet, 10.112.76.39 Pulling image “alpine:3.10.4”
Normal Pulled 17m kubelet, 10.112.76.39 Successfully pulled image “alpine:3.10.4″
Normal Created 17m kubelet, 10.112.76.39 Created container wait-redis
Normal Started 17m kubelet, 10.112.76.39 Started container wait-redis
Normal Pulled 17m kubelet, 10.112.76.39 Container image “alpine:3.10.4” already present on machine
Normal Created 17m kubelet, 10.112.76.39 Created container wait-ldap
Normal Started 17m kubelet, 10.112.76.39 Started container wait-ldap