So I have this Ingress.yaml. All was fine with it but recently it started giving the wrong ip address and not the static ip . I don't what happened but i don't think it's the ingress fault. The node balancer for some reason not using the global static ip :(
does anyone know what it might be. when i describbe ingress there is no errors.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: my-ingress
annotations:
networking.gke.io/managed-certificates: cert
kubernetes.io/ingress.global-static-ip-name: my-static-ip
nginx.ingress.kubernetes.io/force-ssl-redirect: true
spec:
tls:
- hosts:
- domain.com
- www.domain.com
secretName: my-secret
rules:
- host: domain.com
http:
paths:
- path: /*
backend:
serviceName: my-service
servicePort: 80