I tend to struggle with jsonpath, so here's my jq-based suggestion:
$ kubectl get ing -o json | jq -r '.items.spec.rules.http.paths'
This yields a structure like
for me. You can tweak the jq expression for extra slicing and dicing.
On Thursday, April 12, 2018 at 5:26:36 PM UTC+2, David Rosenstrauch wrote:
> Is there any way to produce a comprehensive list of all the paths that
> are defined in the ingress controller? (And all the services they map
> The closest thing I've found is:
> kubectl describe ing
> But that generates a lot of verbose output.
You received this message because you are subscribed to the Google Groups
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.