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