view bin/k8s-pod-names.sh @ 846:1259f9d79961

[BBB] we still in 2017 need py26 sometimes
author Jeff Hammel <k0scist@gmail.com>
date Sun, 17 Sep 2017 12:58:45 -0700
parents d265e49b965e
children
line wrap: on
line source

#!/bin/bash

kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}'