title: kubernetes ingress not updating
body: <p>I updated my ingress.yaml by adding a new path e.g. instead of example.com/ i added example.com/dev/. i deleted the old ingress and deployed the new ingress but still my app gets redirected to old example.com and on accessing example.com/dev/ i get &quot;The requested resource was not found on this server.&quot;  I am using the same old tls certificate since the hostname is still example.com. When i describe my ingress i get :</p>
  <pre><code>Name:             example-ingress
  Namespace:        dev-env
  Address:          
  Default backend:  default-http-backend:80 (&lt;error: endpoints &quot;default-http-backend&quot; not found&gt;)
  TLS:
    selfsigned-cert terminates example.com
  Rules:
    Host                   Path  Backends
    ----                   ----  --------
    example.com  
                           /dev/static   app-svc:80 (172.16.0.29:80)
                           /dev/(.*)     app-svc:8000 (172.16.0.29:8000)
  Annotations:             
                           kubernetes.io/ingress.class: nginx
                           nginx.ingress.kubernetes.io/proxy-body-size: 20m
                           nginx.ingress.kubernetes.io/rewrite-target: /$1
  Events:                  &lt;none&gt;
  </code></pre>
  <p>my ingress file is :</p>
  <pre><code>kind: Ingress
  apiVersion: extensions/v1beta1
  metadata:
    name: example-ingress
    namespace: prod-env
    annotations:
      nginx.ingress.kubernetes.io/rewrite-target: /$1
      kubernetes.io/ingress.class: &quot;nginx&quot;
  spec:
    tls:
      - hosts:
          - example.com
        secretName: selfsigned-cert
    rules:
      - host: example.com
        http:
          paths:
            - path: /dev/static
              backend:
                serviceName: app-svc
                servicePort: 80
            - path: /dev/(.*)
              backend:
                serviceName: app-svc
                servicePort: 8000
  status:
    loadBalancer:
      ingress:
        - ip: 192.168.0.19
          hostname: example.com
  </code></pre>