annotate bin/k8s-pod-names.sh @ 856:1c3f6daa1190

require package
author Jeff Hammel <k0scist@gmail.com>
date Fri, 22 Dec 2017 14:10:15 -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}}'