annotate bin/k8s-pod-names.sh @ 866:909f72bd6cb3

remove stopped containers
author Jeff Hammel <k0scist@gmail.com>
date Wed, 18 Jul 2018 09:29:20 -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}}'