<p>Is there a command I can run or is there some way to identify whether a cluster has one or more ingress controllers configured?</p>

<p>I'm not asking about the actual ingresses themselves (which I know can be found with <code>kubectl get ingress --all-namespaces</code>).</p>

Chris Stryczynski
<p>There is no fancy way to achieve what you need. These two commands can help you and it really depends on what you need to choose between them. </p>

<pre><code>$ kubectl get pods --all-namespaces -o=jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .metadata}{.labels}{", "}{end}{end}' | grep ingress | grep controller
</code></pre>

<pre><code>$ kubectl get pods --show-labels --all-namespaces  | grep ingress | grep controller
</code></pre>

<p>Both commands are similar but with different outputs. </p>

<p>These commands are based on this <a href="https://kubernetes.io/docs/reference/kubectl/cheatsheet/" rel="nofollow noreferrer">documation</a> page. </p>
