What is the modern version of this HTTP Application Routing query in the Kubernetes tutorial?

Adrian Ferrer 40 Reputation points
2024-07-13T23:41:08.1766667+00:00

In https://learn.microsoft.com/en-us/training/modules/cloud-native-apps-orchestrate-containers/7-exercise-connect-container-to-web-app, there is a section where the Azure Cloud Shell command line command "az aks show" is used to get the routing zone name, which is then used to specify the host in the ingress.yaml file.

User's image

However, the command includes a query parameter called addonProfiles.httpApplicationRouting. In the answer to my question https://learn.microsoft.com/en-us/answers/questions/1814094/i-cannot-find-the-enable-http-application-routing I was told that the HTTP Application Routing is obsolete and should be migrated to the Application Routing Add-On.

What is the query for getting the routing zone name of the modern Application Routing Add-On?

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.
1,666 questions
{count} votes

Accepted answer
  1. AmaranS 6,585 Reputation points Microsoft Vendor
    2024-07-16T13:35:24.64+00:00

    Hi Adrian Ferrer,

    For the updated version of the tutorial "Orchestrate containers for cloud-native apps with AKS," you can refer to the Microsoft Learn page which contains the latest instructions and modules relevant to orchestrating containers using AKS.

    As for the CLI command to get the routing zone name after migrating to the new application routing add-on, the command provided in the current AKS tutorials and documentation is:

    
    az aks show --resource-group <ResourceGroup> --name <AKSClusterName> --query addonProfiles.httpApplicationRouting.config.HTTPApplicationRoutingZoneName -o table
    

    If the HttpApplicationRouting add-on has been deprecated or replaced, you'll likely need to use the appropriate Ingress controller as mentioned earlier. To explore all up-to-date commands and configurations, checking the Azure Kubernetes Service (AKS) documentation will provide the most current information and guidance.

    For a broader understanding of container orchestration and cloud-native app deployment, you might find the "Get started with cloud-native apps and containerized deployments" module helpful. It covers various aspects of containerized deployments on Azure, including best practices for managing and scaling containerized applications​ (MS Learn)​.

    Additionally, the "Introduction to Kubernetes on Azure" learning path offers comprehensive insights into using Kubernetes with Azure, which includes deployment, management, and cost optimization strategies​ (MS Learn)​.

    Using these resources should help you navigate any obsolete instructions and provide you with the latest best practices for managing your cloud-native applications on Azure.

    If you encounter any future issues, please feel free to contact us, and we will be pleased to assist you further.

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote "button so that it is useful for other members in the Microsoft Q&A community.

    Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.