Created
August 19, 2020 07:37
-
-
Save beratdogan/924b428fda750902a258448d1fd907c9 to your computer and use it in GitHub Desktop.
List all pods with their cluster local IPs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get pods -o=jsonpath='{range .items[*]}{@.metadata.name}{"\t"}{@.status.podIP}{"\n"}{end}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment