annotate bin/k8s-pod-names.sh @ 896:83618049c2ff

py3
author Jeff Hammel <k0scist@gmail.com>
date Fri, 11 Feb 2022 09:33:38 -0800
parents d265e49b965e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
787
d265e49b965e shortcut
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 #!/bin/bash
d265e49b965e shortcut
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2
d265e49b965e shortcut
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3 kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}'