<p>I'v created ingress on gke with annotation that have a list of whitelisted ips - the problem is list got too big and cant see whats at the end of it (that's how I see it on <code>kubectl describe ingress &lt;name&gt;</code> with the 3 dots at the end)</p>
<pre class="lang-sh prettyprint-override"><code>nginx.ingress.kubernetes.io/whitelist-source-range:
                                   xx, yy, zz ...
</code></pre>
<p>to the point where I see dots at the end - and after 20+ min of looking cant find command to describe my ingress in a way to get its annotations - any thoughts ?</p>
<p>the ingress itself was made like so</p>
<pre class="lang-sh prettyprint-override"><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
...
  annotations:
    kubernetes.io/ingress.class: nginx
...
    nginx.ingress.kubernetes.io/whitelist-source-range: {{ index .Values.ingress &quot;whitelist&quot; | quote }}
</code></pre>
<p>and the list just as plain string with coma delimiter</p>
<p>I thought I could use something like <code>kubectl describe ingress -o jsonpath='{.metadata.annotations}'</code> or smth but it doesnt work on <code>describe</code> only on <code>get</code> commands</p>

potatopotato
<p>Ok answer was way simpler, just running <code>kubectl get ingress &lt;name&gt; -o json</code> showed full annotation list</p>
