You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/application-gateway/ingress-controller-install-existing.md
+29-31Lines changed: 29 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: greg-lindsay
6
6
ms.service: application-gateway
7
7
ms.custom: devx-track-arm-template
8
8
ms.topic: how-to
9
-
ms.date: 11/4/2019
9
+
ms.date: 04/24/2023
10
10
ms.author: greglin
11
11
---
12
12
@@ -22,26 +22,25 @@ resources, and creates and applies Application Gateway config based on the statu
22
22
- Option 1: [Set up aad-pod-identity](#set-up-aad-pod-identity) and create Azure Identity on ARMs
23
23
- Option 2: [Using a Service Principal](#using-a-service-principal)
24
24
-[Install Ingress Controller using Helm](#install-ingress-controller-as-a-helm-chart)
25
-
-[Multi-cluster / Shared Application Gateway](#multi-cluster--shared-application-gateway): Install AGIC in an environment, where Application Gateway is
25
+
-[Shared Application Gateway](#shared-application-gateway): Install AGIC in an environment, where Application Gateway is
26
26
shared between one or more AKS clusters and/or other Azure components.
27
27
28
28
## Prerequisites
29
29
This document assumes you already have the following tools and infrastructure installed:
30
30
-[AKS](https://azure.microsoft.com/services/kubernetes-service/) with [Azure Container Networking Interface (CNI)](../aks/configure-azure-cni.md)
31
31
-[Application Gateway v2](./tutorial-autoscale-ps.md) in the same virtual network as AKS
32
32
-[AAD Pod Identity](https://github.com/Azure/aad-pod-identity) installed on your AKS cluster
33
-
-[Cloud Shell](https://shell.azure.com/) is the Azure shell environment, which has `az` CLI, `kubectl`, and `helm` installed. These tools are required for the commands below.
33
+
-[Cloud Shell](https://shell.azure.com/) is the Azure shell environment, which has `az` CLI, `kubectl`, and `helm` installed. These tools are required for the following commands:
34
34
35
-
Please __backup your Application Gateway's configuration__ before installing AGIC:
35
+
**Backup your Application Gateway's configuration** before installing AGIC:
36
36
1. using [Azure portal](https://portal.azure.com/) navigate to your `Application Gateway` instance
37
37
2. from `Export template` click `Download`
38
38
39
-
The zip file you downloaded will have JSON templates, bash, and PowerShell scripts you could use to restore App
39
+
The zip file you downloaded contains JSON templates, bash, and PowerShell scripts you could use to restore App
40
40
Gateway should that become necessary
41
41
42
42
## Install Helm
43
-
[Helm](../aks/kubernetes-helm.md) is a package manager for
44
-
Kubernetes. We will leverage it to install the `application-gateway-kubernetes-ingress` package.
43
+
[Helm](../aks/kubernetes-helm.md) is a package manager for Kubernetes, used to install the `application-gateway-kubernetes-ingress` package.
45
44
Use [Cloud Shell](https://shell.azure.com/) to install Helm:
46
45
47
46
1. Install [Helm](../aks/kubernetes-helm.md) and run the following to add `application-gateway-kubernetes-ingress` helm package:
@@ -84,22 +83,22 @@ Next we need to create an Azure identity and give it permissions ARM.
84
83
Use [Cloud Shell](https://shell.azure.com/) to run all of the following commands and create an identity:
85
84
86
85
1. Create an Azure identity **in the same resource group as the AKS nodes**. Picking the correct resource group is
87
-
important. The resource group required in the command below is *not* the one referenced on the AKS portal pane. This is
86
+
important. The resource group required in the following commands is *not* the one referenced on the AKS portal pane. This is
88
87
the resource group of the `aks-agentpool` virtual machines. Typically that resource group starts with `MC_` and contains
89
88
the name of your AKS. For instance: `MC_resourceGroup_aksABCD_westus`
90
89
91
90
```azurecli
92
91
az identity create -g <agent-pool-resource-group> -n <identity-name>
93
92
```
94
93
95
-
1. For the role assignment commands below we need to obtain `principalId` for the newly created identity:
94
+
1. For the role assignment, commands we need to obtain `principalId` for the newly created identity:
96
95
97
96
```azurecli
98
97
az identity show -g <resourcegroup> -n <identity-name>
99
98
```
100
99
101
-
1. Give the identity `Contributor` access to your Application Gateway. For this you need the ID of the Application Gateway, which will
102
-
look something like this: `/subscriptions/A/resourceGroups/B/providers/Microsoft.Network/applicationGateways/C`
100
+
1. Give the identity `Contributor` access to your Application Gateway. For this you need the ID of the Application Gateway, which
101
+
looks something like this: `/subscriptions/A/resourceGroups/B/providers/Microsoft.Network/applicationGateways/C`
103
102
104
103
Get the list of Application Gateway IDs in your subscription with: `az network application-gateway list --query '[].id'`
105
104
@@ -121,7 +120,7 @@ look something like this: `/subscriptions/A/resourceGroups/B/providers/Microsoft
121
120
```
122
121
123
122
## Using a Service Principal
124
-
It is also possible to provide AGIC access to ARM via a Kubernetes secret.
123
+
It's also possible to provide AGIC access to ARM via a Kubernetes secret.
125
124
126
125
1. Create an Active Directory Service Principal and encode with base64. The base64 encoding is required for the JSON
127
126
blob to be saved to Kubernetes.
@@ -148,11 +147,11 @@ In the first few steps, we install Helm's Tiller on your Kubernetes cluster. Use
148
147
helm repo update
149
148
```
150
149
151
-
1. Download helm-config.yaml, which will configure AGIC:
150
+
1. Download helm-config.yaml, which configures AGIC:
0 commit comments