Autogenerated subdomain for AKS applications
AKS is deprecating the addon http_application_routing
. I could use this to create an ingress. The ingress URL could be found like this:
az aks show --resource-group "${RESOURCE_GROUP}" \
--name "${CLUSTER_NAME}" \
--query addonProfiles.httpApplicationRouting.config.HTTPApplicationRoutingZoneName -o table
A sample URL looked like this: a6ecc31aa89e4bf889d5.eastus.aksapp.io
.
But now they are suggesting that I use the addon called approuting
and it is enabled like this:
az aks approuting enable --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME
This deploys an nginx pod but how do I get the URL similar to the http_application_routing
addon?
There is a similar question that have been asked before but instead of giving an answer it just specified that the addon is disabled and didn't really help with the question: https://learn.microsoft.com/en-us/answers/questions/1814487/what-is-the-modern-version-of-this-http-applicatio
Currently the training also gets this wrong: https://learn.microsoft.com/en-us/training/modules/cloud-native-apps-orchestrate-containers/7-exercise-connect-container-to-web-app since the learning module gets it wrong people are writing blog posts and suggesting to avoid the module or avoid learning AKS itself.
This question is related to the following Learning Module