annotate bin/k8s-pod-names.sh @ 864:7191914724f0

[git] update name and fix syntax
author Jeff Hammel <k0scist@gmail.com>
date Thu, 07 Jun 2018 14:33:07 -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}}'