Main Menu

Search

Wednesday, September 4, 2024

KUBERNETES: How To Identify Orphaned Pod In Kubernetes Cluster?

Orphaned Pods can be identified by looking into messages system logs on Oracle Linux. 

Below command can be used to check for orphaned pods in Kubernetes cluster on Oracle Linux.

sudo tail /var/log/messages | grep "orphaned pod" | awk '{print $23}' | cut -d\\ -f2 | cut -d\" -f2 | uniq

No comments:

Post a Comment