k8spod⼀直处于pending
kubectl get pods
NAME READY STATUS RESTARTS AGE
sa-frontend 0/1 Pending 0 35m
zsh:kubectl describe pod sa-frontend
Name: sa-frontend
Namespace: default
Priority: 0
Node: <none>
Labels: app=sa-frontend
Annotations: <none>
大力水手奥利弗Status: Pending
来如春梦不多时IP:
IPs: <none>
Containers:
sa-frontend:
Image: ccfco/ntiment-analysis-frontend柴犬多少钱
Port: 80/TCP
Host Port: 0/TCP
新年开业祝福语
Environment: <none>
Mounts:
/var/run/crets/kubernetes.io/rviceaccount from kube-api-access-qrfdx (ro)
半个月亮打一字
Conditions:
Type Status
PodScheduled Fal
Volumes:
kube-api-access-qrfdx:
Type: Projected (a volume that contains injected data from multiple sources)
沐猴而冠的故事及典故>咖啡的历史
TokenExpirationSeconds: 3607
ConfigMapName:
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
张十八员外Warning FailedScheduling 2m26s (x37 over 38m) default-scheduler 0/1 nodes are available: 1 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate.修改yaml⽂件