Hi All. wondering if anyone faced this in ingress task. if you remove the annota . . .

manas pradhan:
Hi All. wondering if anyone faced this in ingress task. if you remove the annotation from ingress, it doesn’t work. Annotation should not impact is my understanding.
apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
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"
Why does Nginx ingress use annotation to control rewriting? Annotation suppose to be for info only

Mohamed Ayman:
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"

Shwetha:
Ingresses commonly use annotations to control different behaviours. The 2 you have mentioned are specifically for nginx. You will find different annotations for others when you visit their websites.

unnivkn:
Hi @manas pradhan please go through this: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#server-side-https-enforcement-through-redirect

Ajay Yewale:
Could I use k8s bookmark which I created in my own laptop. Could I use my own laptop to attempt exam?

Shwetha:
You can use bookmarks from k8s docs. You can use any laptop that matches the requirement