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-new.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ installed in an environment with no pre-existing components.
16
16
17
17
## Required Command Line Tools
18
18
19
-
We recommend the use of [Azure Cloud Shell](https://shell.azure.com/) for all commandline operations below. Launch your shell from shell.azure.com or by clicking the link:
19
+
We recommend the use of [Azure Cloud Shell](https://shell.azure.com/) for all command-line operations below. Launch your shell from shell.azure.com or by clicking the link:
@@ -38,7 +38,7 @@ choose to use another environment, please ensure the following command line tool
38
38
Follow the steps below to create an Azure Active Directory (AAD) [service principal object](https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals#service-principal-object). Please record the `appId`, `password`, and `objectId` values - these will be used in the following steps.
39
39
40
40
1. Create AD service principal ([Read more about RBAC](https://docs.microsoft.com/azure/role-based-access-control/overview)):
41
-
```bash
41
+
```azurecli
42
42
az ad sp create-for-rbac --skip-assignment -o json > auth.json
43
43
appId=$(jq -r ".appId" auth.json)
44
44
password=$(jq -r ".password" auth.json)
@@ -47,7 +47,7 @@ Follow the steps below to create an Azure Active Directory (AAD) [service princi
47
47
48
48
49
49
1. Use the `appId` from the previous command's output to get the `objectId` of the new service principal:
50
-
```bash
50
+
```azurecli
51
51
objectId=$(az ad sp show --id $appId --query "objectId" -o tsv)
52
52
```
53
53
The output of this command is `objectId`, which will be used in the Azure Resource Manager template below
@@ -80,7 +80,7 @@ This step will add the following components to your subscription:
80
80
```
81
81
82
82
1. Deploy the Azure Resource Manager template using `az cli`. This may take up to 5 minutes.
83
-
```bash
83
+
```azurecli
84
84
resourceGroupName="MyResourceGroup"
85
85
location="westus2"
86
86
deploymentName="ingress-appgw"
@@ -97,22 +97,22 @@ This step will add the following components to your subscription:
97
97
```
98
98
99
99
1. Once the deployment finished, download the deployment output into a file named `deployment-outputs.json`.
100
-
```bash
100
+
```azurecli
101
101
az group deployment show -g $resourceGroupName -n $deploymentName --query "properties.outputs" -o json > deployment-outputs.json
102
102
```
103
103
104
104
## Set up Application Gateway Ingress Controller
105
105
106
-
With the instructions in the previous section we created and configured a new AKS cluster and
106
+
With the instructions in the previous section, we created and configured a new AKS cluster and
107
107
an Application Gateway. We are now ready to deploy a sample app and an ingress controller to our new
108
108
Kubernetes infrastructure.
109
109
110
110
### Setup Kubernetes Credentials
111
-
For the following steps we need setup [kubectl](https://kubectl.docs.kubernetes.io/) command,
111
+
For the following steps, we need setup [kubectl](https://kubectl.docs.kubernetes.io/) command,
112
112
which we will use to connect to our new Kubernetes cluster. [Cloud Shell](https://shell.azure.com/) has `kubectl` already installed. We will use `az` CLI to obtain credentials for Kubernetes.
113
113
114
114
Get credentials for your newly deployed AKS ([read more](https://docs.microsoft.com/azure/aks/kubernetes-walkthrough#connect-to-the-cluster)):
115
-
```bash
115
+
```azurecli
116
116
# use the deployment-outputs.json created after deployment to get the cluster name and resource group name
@@ -268,7 +268,7 @@ Kubernetes. We will leverage it to install the `application-gateway-kubernetes-i
268
268
> The `identityResourceID` and `identityClientID` are values that were created
269
269
during the [Create an Identity](https://github.com/Azure/application-gateway-kubernetes-ingress/blob/072626cb4e37f7b7a1b0c4578c38d1eadc3e8701/docs/setup/install-new.md#create-an-identity)
270
270
steps, and could be obtained again using the following command:
271
-
> ```bash
271
+
>```azurecli
272
272
> az identity show -g <resource-group> -n <identity-name>
273
273
>```
274
274
>`<resource-group>`in the command above is the resource group of your Application Gateway. `<identity-name>` is the name of the created identity. All identities for a given subscription can be listed using: `az identity list`
Copy file name to clipboardExpand all lines: articles/application-gateway/quick-create-cli.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@ It can take up to 30 minutes for Azure to create the application gateway. After
167
167
168
168
Although Azure doesn't require an NGINX web server to create the application gateway, you installed it in this quickstart to verify whether Azure successfully created the application gateway. To get the public IP address of the new application gateway, use `az network public-ip show`.
Copy file name to clipboardExpand all lines: articles/application-gateway/tutorial-create-vmss-cli.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ az vmss extension set \
123
123
124
124
To get the public IP address of the application gateway, you can use [az network public-ip show](/cli/azure/network/public-ip). Copy the public IP address, and then paste it into the address bar of your browser.
Copy file name to clipboardExpand all lines: articles/application-gateway/tutorial-url-redirect-cli.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,7 +282,7 @@ done
282
282
283
283
To get the public IP address of the application gateway, use [az network public-ip show](/cli/azure/network/public-ip#az-network-public-ip-show). Copy the public IP address, and then paste it into the address bar of your browser. Such as, `http://40.121.222.19`, `http://40.121.222.19:8080/images/test.htm`, `http://40.121.222.19:8080/video/test.htm`, or `http://40.121.222.19:8081/images/test.htm`.
0 commit comments