title: Google Kubernetes Engine ingress annotations
body: <p>I configure Ingress on google Kubernetes engine. I am new on ingress but as i understood ingress can serve different Loadbalancers and different LBs should be differently configured. </p>
  
  <p>I have started with a simple ingress config on GKE :</p>
  
  <pre><code>apiVersion: networking.k8s.io/v1beta1
  kind: Ingress
  metadata:
    name: basic-ingress
  
  spec:
    rules:
    - http:
        paths:
        - path: /*
          backend:
            serviceName: web-np
            servicePort: 8080
        - path: /v2/keys
          backend:
            serviceName: etcd-np
            servicePort: 2379
  </code></pre>
  
  <p>And it works fine so I have 2 different NodePort services web-np and <code>etcd-np</code> . But now I need to extend this logic with some rewrite rules so that request that points to <code>/service1</code> - will be redirected to the other <code>service1-np</code> service but before <code>/service1/hello.html</code> must be replaced to <code>/hello.html</code>. That's why I have the following questions: </p>
  
  <ul>
  <li>How can I configure rewrite in ingress and if it is possible with default load balancer.</li>
  <li>What is default load balancer on GKE.</li>
  <li>Where can I find a list of all annotations to it. I have thought that the full list is on <a href="https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/" rel="nofollow noreferrer">https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/</a> but there is a completly different list and there is no <code>kubernetes.io/ingress.global-static-ip-name</code> annotation that is widely used in google examples. </li>
  </ul>