Pod Kubernetes ki bloke nan `Pending` — kisa sa vle di?

asked 2 months ago215 viewsht

5

Mwen deplwaye yon app e pod la rete Pending pandan plizyè minit. Li pa janm vin Running. Kijan pou m konnen poukisa?

AI diagnosis

AI-generated. Not an answer — the community below confirms or corrects it. Always verify before relying on it.

asked 2 months ago

1 Answer

4
✓
✓ Accepted answer

Pending vle di Kubernetes pa jwenn yon nœud pou mete pod la (oswa li poko ka kreye l). Premye bagay pou fè:

kubectl describe pod <non-pod>

Gade seksyon Events anba a. Kòz ki pi komen yo:

1. Insufficient cpu / Insufficient memory: requests pod la twò wo pou nœud ki disponib yo. Bese resources.requests oswa ajoute nœud. 2. pod has unbound immediate PersistentVolumeClaims: volim nan poko kreye. Verifye kubectl get pvc ak storageClassName. 3. node(s) had untolerated taint: nœud yo gen *taint* e pod la pa gen *toleration* ki koresponn. 4. didn't match Pod's node affinity/selector: nodeSelector la mande yon label okenn nœud pa genyen.

Si Events yo vid, gade si ou pa depase ResourceQuota namespace la: kubectl describe quota.

Sign in to tell others whether this worked.

answered 2 months ago

Sign in and verify your email to post an answer.