view bin/k8s-pod-names.sh @ 840:51635d21bbb0

genericize
author Jeff Hammel <k0scist@gmail.com>
date Mon, 24 Apr 2017 21:51:31 -0700
parents d265e49b965e
children
line wrap: on
line source

#!/bin/bash

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