Application Gateway (AGIC)

Sebastian Pacheco 201 Reputation points
2024-03-28T23:21:59.9233333+00:00

Hello everyone, I was creating an AKS cluster and I noticed that the Azure portal changed a lot and the main thing is that now once the AKS Cluster has been created and there is no option to create the application gateway in the Networks option.

Now I had to create it manually using a command.

Has anyone else noticed this? They went from being able to create the appgw in a super simple way to a difficult one >=/

Or is there an easy way to create it like it was before?

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,100 questions
0 comments No comments
{count} votes

Accepted answer
  1. Prrudram-MSFT 24,541 Reputation points
    2024-03-29T05:12:21.51+00:00

    Hello @Sebastian Pacheco

    Yes, you're correct that the Azure portal has changed and the option to create an application gateway for an AKS cluster is no longer available in the "Networks" section. However, there are still several ways to create an application gateway for your AKS cluster.

    One way is to use the Azure CLI to create the application gateway. You can use the following command to create an application gateway with the AKS ingress controller:

    az network application-gateway create --name <appgw-name> --resource-group <resource-group-name> --location <location> --sku Standard_v2 --capacity <capacity> --http-settings-cookie-based-affinity Disabled --frontend-port 80 --http-settings-port 80 --http-settings-protocol Http --public-ip-address <public-ip-name> --vnet-name <vnet-name> --subnet <subnet-name> --servers <server-name> --aks-zone-redundant true

    This command creates an application gateway with the Standard_v2 SKU, a specified capacity, and the AKS ingress controller enabled. You can customize the command to fit your specific needs.

    Another way to create an application gateway for your AKS cluster is to use the Azure portal to create a new application gateway resource and then configure it to work with your AKS cluster. This involves creating a new application gateway resource, configuring the backend pool to point to your AKS cluster, and configuring the listener and rules to route traffic to your AKS cluster.

    https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-ingress-controller-add-on-existing?toc=%2Fazure%2Faks%2Ftoc.json&bc=%2Fazure%2Faks%2Fbreadcrumb%2Ftoc.json#deploy-a-new-application-gateway

    I hope this helps! Let me know if you have any further questions.

    If I have answered your query, please click "Accept as answer" as a token of appreciation

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.