You're using the wrong command to sort. The correct command will be:
kubectl get pods --all-namespaces --sort-by={.status.podIP}
This will sort your pods according to the podIP.
You're using the wrong command to sort. The correct command will be:
kubectl get pods --all-namespaces --sort-by={.status.podIP}
This will sort your pods according to the podIP.
For further actions, you may consider blocking this person and/or reporting abuse
KISHORE K -
Potato -
Cloud Native Engineer -
pronab pal -
Top comments (0)