<p>So here is my problem, I want to set up in Kubernetes ingress resource 3 timeout parameters. Described method in the Kubernetes docs is to use either ingress resource annotations or ConfigMap. In the example below I am trying with annotations but for unknown reason the change is not taking effect.</p>

<pre><code>nginx.org/proxy-connect-timeout: 10s
nginx.org/proxy-read-timeout: 10s
nginx.org/proxy-send-timeout: 10s
</code></pre>

<p>I am setting those parameters in my ingress resource deffinition:</p>

<pre><code>kind: Ingress
metadata:
  name: my-foobar-ingress
  namespace: foobar
  annotations:
    nginx.org/proxy-send-timeout: "10s"
    nginx.org/proxy-connect-timeout: "10s"
    nginx.org/proxy-read-timeout: "10s"

spec:
  rules:
  - host: foobar.foo.bar
    http:
      paths:
      - backend:
          serviceName: foobar-svc
          servicePort: 8080
        path: /
</code></pre>

<p>The other way to set up nginx configurations is through a ConfigMap, but I do not want to do it globally so I need to use annotations to do so.</p>

<p>Are you sure these are the correct annotations? Have a look at <a href="https://github.com/kubernetes/ingress/blob/master/core/pkg/ingress/annotations/proxy/main.go" rel="noreferrer">ingress/annotations/proxy/main.go</a>, where the following constants are defined:</p>

<pre><code>connect      = "ingress.kubernetes.io/proxy-connect-timeout"
send         = "ingress.kubernetes.io/proxy-send-timeout"
read         = "ingress.kubernetes.io/proxy-read-timeout"
</code></pre>
