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

posée 2 months ago216 vuesht

5

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

Diagnostic IA

Généré par IA. Ce n'est pas une réponse — la communauté ci-dessous le confirme ou le corrige. Vérifiez toujours avant de vous y fier.

posée 2 months ago

1 réponse

4
✓
✓ Réponse acceptée

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.

Connectez-vous pour dire si ça a marché.

answered 2 months ago

Sign in and verify your email to post an answer.