The CKA and CKS courses have an article on ingress annotations, “Ingress - Annotations and rewrite-target”. The article is incomplete because apps’ URLs are incomplete and URL for nginx ingress examples are missing. Therefore, the article is really hard to understand.
I think it’s a result of the learning platform migration. The CKA course on Udemy has the correct content.
For example,
Our
watch
app displays the video streaming webpage athttp://:/
should be
Our
watch
app displays the video streaming webpage athttp://<watch-service>:<port>/
And the following:
Without the
rewrite-target
option, this is what would happen:
http://:/watch –> http://:/watch
http://:/wear –> http://:/wear
should be:
Without the
rewrite-target
option, this is what would happen:
http://<ingress-service>:<ingress-port>/watch --> http://<watch-service>:<port>/watch
http://<ingress-service>:<ingress-port>/wear --> http://<wear-service>:<port>/wear