# list ingress host and paths, ref https://www.kaper.com/cloud/find-kubernetes-ingress-rules/ kubectl get ingress -o json | \ jq -r '.items[] | . as $parent | .spec.rules[] | select(.host=="HOST.NAME.YOU.WANT") | .host as $host | .http.paths[] | ( $host + " " + .path + " " + .backend.service.name + " " + $parent.metadata.name )' | \ sort