k8spod⼀直处于pending
kubectl get pods
NAME READY STATUS RESTARTS AGE
sa-frontend 0/1 Pending 0 35m
zsh:kubectl describe pod sa-frontend
dungeonName: sa-frontend
Namespace: default
程度英语
Priority: 0
Node: <none>
Labels: app=sa-frontend
Annotations: <none>
abcd歌
Status: Pending
IP:
IPs: <none>
Containers:
sa-frontend:
thrift shopImage: ccfco/ntiment-analysis-frontend
Port: 80/TCPgenuine
Host Port: 0/TCP
Environment: <none>
Mounts:
lonely planet/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>
open access>xanaduDownwardAPI: true
wife
QoS Class: BestEffort
orans
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⽂件