生产使用得ks2.1,然后node节点突然notready。

kubectl describe pod ks-apigateway-65fddf9488-w5vr8 -n kubesphere-system
Name: ks-apigateway-65fddf9488-w5vr8
Namespace: kubesphere-system
Priority: 0
Node: node28/172.19.186.57
Start Time: Sun, 27 Sep 2020 17:59:48 +0800
Labels: app=ks-apigateway
pod-template-hash=65fddf9488
tier=backend
version=v2.1.1
Annotations: kubectl.kubernetes.io/restartedAt: 2020-09-27T09:59:25Z
Status: Terminating (lasts 3h59m)
Termination Grace Period: 30s
IP: 10.233.67.3
IPs:
IP: 10.233.67.3
Controlled By: ReplicaSet/ks-apigateway-65fddf9488
Containers:
ks-apigateway:
Container ID: docker://0d2dd0bf04ff83fb553e785c51aeb2b6bb8a101684ec7a5e6a8894fa6f20f017
Image: kubesphere/ks-apigateway:v2.1.1
Image ID: docker-pullable://kubesphere/ks-apigateway@sha256:805d1e89aebd391d04bcc0d10fcef2529bad88e0919b5751c043a83fd1781592
Port: 2018/TCP
Host Port: 0/TCP
Command:
/bin/sh
-c
export KUBESPHERE_TOKEN=cat /var/run/secrets/kubernetes.io/serviceaccount/token
&& ks-apigateway –conf=/etc/caddy/Caddyfile –log=stderr
State: Running
Started: Sun, 27 Sep 2020 18:00:07 +0800
Ready: True
Restart Count: 0
Limits:
cpu: 1
memory: 500Mi
Requests:
cpu: 20m
memory: 100Mi
Environment:
JWT_SECRET: <set to the key ‘jwt-secret’ in secret ‘ks-account-secret’> Optional: false
Mounts:
/etc/caddy from caddyfile (rw)
/etc/kubesphere from kubesphere-config (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kubesphere-token-kq4wk (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady True
PodScheduled True
Volumes:
caddyfile:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: caddyfile
Optional: false
kubesphere-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: kubesphere-config
Optional: false
kubesphere-token-kq4wk:
Type: Secret (a volume populated by a Secret)
SecretName: kubesphere-token-kq4wk
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: <none>
有没有大佬帮忙看下