<p>I feel like I'm missing something pretty basic here, but can't find what I'm looking for.</p>

<p>Referring to the NGINX Ingress Controller documentation regarding <a href="https://kubernetes.github.io/ingress-nginx/user-guide/cli-arguments/" rel="nofollow noreferrer">command line arguments</a> how exactly would you use these? Are you calling a command on the nginx-ingress-controller pod with these arguments? If so, what is the command name? </p>

<p>Can you provide an example?</p>

Chad
<p>Command line arguments are accepted by the Ingress controller executable.This can be set in container spec of the <code>nginx-ingress-controller</code> Deployment manifest.</p>

<p>List of annotation document :</p>

<blockquote>
  <p><a href="https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md" rel="nofollow noreferrer">https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md</a></p>
</blockquote>

<p>Command line argument document:</p>

<blockquote>
  <p><a href="https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/cli-arguments.md" rel="nofollow noreferrer">https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/cli-arguments.md</a></p>
</blockquote>

<p>If you will run the command </p>

<blockquote>
  <p>kubectl describe deployment/nginx-ingress-controller --namespace
  </p>
</blockquote>

<p>You will find this snip :</p>

<pre><code>Args:
  --default-backend-service=$(POD_NAMESPACE)/default-http-backend
  --tcp-services-configmap=$(POD_NAMESPACE)/tcp-services
  --annotations-prefix=nginx.ingress.kubernetes.io
</code></pre>

<p>Where these all are command line arguments of nginx as suggested.From here you can also change the <code>--annotations-prefix=nginx.ingress.kubernetes.io</code> from here.</p>

<p>Default annotation in nginx is <code>nginx.ingress.kubernetes.io</code>. </p>

<p><code>!!! note</code> The annotation prefix can be changed using the <code>--annotations-prefix</code> inside <a href="https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/cli-arguments.md" rel="nofollow noreferrer">command line argument</a>, but the default is <code>nginx.ingress.kubernetes.io</code>.</p>
