Mudit:
Hi All,
Regarding questions 8 & 9 in the lab : SERVICES & NETWORKING, INGRESS NETWORKING – 2
It URL with /wear or /watch works only when you configure the below annotations: “http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect: false”.
- But in the k8s doc, this option is not found anywhere, and in exam it would be difficult to find it in the doc. Any suggestions on where to find it from as ready reference in exam if it comes?
- Also is this annotation mandatory for any ingress to work properly?
root@controlplane ~ ✖ k -n app-space describe ingress app-ingress
Name: app-ingress
Namespace: app-space
Address:
Default backend: default-http-backend:80 (<error: endpoints "default-http-backend" not found>)
Rules:
Host Path Backends
---- ---- --------
*
/wear wear-service:8080 (10.244.0.5:8080)
/watch video-service:8080 (10.244.0.4:8080)
Annotations: <http://nginx.ingress.kubernetes.io/rewrite-target|nginx.ingress.kubernetes.io/rewrite-target>: /
<http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect>: false
Events: <none>