1 2 3 4 5 6
#!/bin/sh kubectl get ing -o custom-columns=:.spec.rules[].host \ | grep . \ | sort \ | uniq