diff options
Diffstat (limited to '.local/bin/kubectl-hosts')
-rwxr-xr-x | .local/bin/kubectl-hosts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/kubectl-hosts b/.local/bin/kubectl-hosts new file mode 100755 index 0000000..c347256 --- /dev/null +++ b/.local/bin/kubectl-hosts @@ -0,0 +1,6 @@ +#!/bin/sh + +kubectl get ing -o custom-columns=:.spec.rules[].host \ + | grep . \ + | sort \ + | uniq |