Autogenerated subdomain for AKS applications

Suraj Deshmukh 0 Reputation points Microsoft Employee
2025-02-05T23:42:01.1666667+00:00

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

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
2,051 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.