title: redirect everything with ingress-nginx
body: <p>i've create a yaml file that its only job is: <code>It should immediately redirect to google.com</code></p>
  <p>but its just doesn't work...</p>
  <p>my <code>localhost</code> still returns <code>404-nginx</code></p>
  <p>i'm on docker-desktop and my clusterversion is <code>v1.21.5</code></p>
  <p>here is my redirect.yaml</p>
  <pre><code>apiVersion: networking.k8s.io/v1
  kind: Ingress
  metadata:
    name: my-google
    annotations:
      nginx.ingress.kubernetes.io/permanent-redirect: https://www.google.com
  spec:
    rules:
    - http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: doesntmatter
              port:
                number: 80
  </code></pre>
  <p>here is my <code>kubectl get ingress</code></p>
  <pre><code>NAME          CLASS    HOSTS                          ADDRESS     PORTS   AGE
  cheddar       nginx    cheddar.127.0.0.1.nip.io       localhost   80      31m
  my-google     &lt;none&gt;   *                                          80      26m
  stilton       nginx    stilton.127.0.0.1.nip.io       localhost   80      31m
  wensleydale   nginx    wensleydale.127.0.0.1.nip.io   localhost   80      31m
  </code></pre>
  <p>NOTE: the other ingress sevices e.g. <code>cheddar.127.0.0.1.nip.io</code> is working perfectly...</p>