Hi All, Can any one please confirm on this. Do we need this annotation as mentio . . .

Kaustubh Mali:
Hi All,
Can any one please confirm on this.
Do we need this annotation as mentioned below in our ingress manifest file, if the TLS certificated are not configured for https? Are there any references made in the official kubernetes docs regarding this? Without this annotation the ingress didn’t work for me.

.<http://metadata.annotations.nginx.ingress.kubernetes.io/ssl-redirect|metadata.annotations.nginx.ingress.kubernetes.io/ssl-redirect>: "false"
I was able to find references in the http://kubernetes.github.io|kubernetes.github.io but not sure whether we have access to this doc in the exam.
https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/

In the official kubernetes doc annotations for this is not covered as far as I know [for inginx], I could be wrong here.
https://kubernetes.io/docs/concepts/services-networking/ingress/

Mohamed Ayman:
Hello @Kaustubh Mali,
By default the controller redirects (301) to HTTPS if TLS is enabled for that Ingress. If you want to disable that behavior, you can use the <http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect>: "false" annotation.

And in the lab, we manage the HTTPS from our side, not from the ingress. So, you should add annotation <http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect>: "false"
for more info check this https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/

Kaustubh Mali:
@Mohamed Ayman

Thank you so much for clarifying on this

Kaustubh Mali:
If there is a question on implementing ingress in the CKA exam then would it be giving by default in the question regarding annotation?
since its quite difficult to remember all the annotation!

Cause as far as I know only kubernetes domain is valid for using it as a reference.
Not sure whether below GitHub subdomain link pages is also valid.
Can you please confirm on this.

https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/

unnivkn:
Hi @Kaustubh Mali if you get a task & the related link is not available in the official documentation then they will provide you the respective link/reference doc.

Kaustubh Mali:
@unnivkn Ohh nice. So it wont be an issue.
Thanks. :dancing_parrot: