annotate bin/k8s-pod-names.sh @ 898:e7ab4cf29f7b

py3
author Jeff Hammel <k0scist@gmail.com>
date Mon, 01 Aug 2022 16:42:02 -0700
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}}'