Aucune réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- Pourquoi le plug-in CNI de mon VPC ne parvient-il pas à atteindre le serveur d'API dans Amazon EKS ?AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
Get information on the worker node by running the following command: $ kubectl describe node node-name Example:
KubeletNotReady PLEG is not healthy: pleg was last seen active xx The most common reasons for PLEG being unhealthy are the following:
Kubelet can't communicate with Docker daemon because the daemon is busy or dead. For example, the Docker daemon on your EKS worker node might be broken. An out of memory (OOM) or CPU utilization issue at instance level caused PLEG to become unhealthy. If the worker node has a large number of pods, the kubelet and Docker daemon might experience higher workloads, causing PLEG related errors. Higher workloads might also result if the liveness or readiness probes frequently. Check the kubelet logs You can check the kubelet logs on the instance to identify why PLEG is unhealthy.
Use SSH to connect to the instance and run the following command: $ journalctl -u kubelet > kubelet.log If you're using the Amazon EKS-optimized AMI and SSH isn't enabled, then you can connect using SSM. For more information, see Connect to your Linux instance using Session Manager.
Check for PLEG related events posted by kubelet in these logs:
Example:
28317 kubelet.go:1873] "Skipping pod synchronization" err="PLEG is not healthy: pleg was last seen active 4h5m43.659028227s ago; threshold is 3m0s" 28317 kubelet.go:1873] "Skipping pod synchronization" err="PLEG is not healthy: pleg was last seen active 4h5m48.659213288s ago; threshold is 3m0s"
Thanks for the tips, Hemant. We didn't see any events or logs related to PLEG. Just a vague "Kubelet stopped posting node status." message in all the conditions and we weren't able to connect via ssh for some reason last time we tried. The ssh connectivity may be unrelated to the node status though.