I am attempting to use a GCE LB annotation and Google-managed SSL annotation on my ingress in my config YAML and cannot get path routing to work properly. The error is response 404 (backend NotFound), service rules for the path non-existent
.
Config YAML
ingress:
enabled: true
hosts:
- "<DOMAIN>"
annotations:
kubernetes.io/ingress.class: "gce"
kubernetes.io/ingress.global-static-ip-name: "<GLOBAL_IP_NAME>"
networking.gke.io/managed-certificates: "google-managed-ssl-certificate"
hub:
baseUrl: /<prefix>
When I attempt to go to <DOMAIN.COM>/path
I get the result of <DOMAIN.COM>/path/hub
.
Running kubectl describe ingress -n
output
Host Path Backends
---- ---- --------
<DOMAIN.COM>
/path proxy-public:80 (11.1.1.6:8000)
In my GKE LB through the console I see a host and path rule relating to
<DOMAIN.COM> /path k8s-be-31820--bd061b5b5b89d263
Is this due to the /path
request routing to /path/hub
? Do I need to enable anything additional on my ingress like TLS settings?