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

poze 2 months ago212 gadeht

5

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

Dyagnostik IA

Se IA ki fè l. Se pa yon repons — kominote a anba a konfime oswa korije l. Toujou verifye anvan ou fye l.

poze 2 months ago

1 Repons

4
✓
✓ Repons yo aksepte

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.

Konekte pou di lòt moun si li te mache.

answered 2 months ago

Sign in and verify your email to post an answer.