Skip to content

Commit 77774c6

Browse files
authored
Merge pull request #183515 from zr-msft/zr-aks-rollback-ingress-change
[AKS] roll back changes to ingress article
2 parents c9b40f1 + a4c55be commit 77774c6

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

articles/aks/ingress-basic.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,9 @@ This article also requires that you are running the Azure CLI version 2.0.64 or
3232

3333
In addition, this article assumes you have an existing AKS cluster with an integrated ACR. For more details on creating an AKS cluster with an integrated ACR, see [Authenticate with Azure Container Registry from Azure Kubernetes Service][aks-integrated-acr].
3434

35-
## Basic configuration
36-
To create a simple NGINX ingress controller without customizing the defaults, you will use helm.
35+
## Import the images used by the Helm chart into your ACR
3736

38-
```console
39-
NAMESPACE=ingress-basic
40-
41-
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
42-
helm repo update
43-
44-
helm install ingress-nginx ingress-nginx/ingress-nginx --create-namespace --namespace $NAMESPACE
45-
```
46-
47-
Note that the above configuration uses the 'out of the box' configuration for simplicity. If needed, you could add parameters for customizing the deployment, eg, `--set controller.replicaCount=3`. The next section will show a highly customized example of the ingress controller.
48-
49-
## Customized configuration
50-
As an alternative to the basic configuration presented in the above section, the next set of steps will show how to deploy a customized ingress controller.
51-
### Import the images used by the Helm chart into your ACR
52-
53-
To control image versions, you will want to import them into your own Azure Container registry. The [NGINX ingress controller Helm chart][ingress-nginx-helm-chart] relies on three container images. Use `az acr import` to import those images into your ACR.
37+
This article uses the [NGINX ingress controller Helm chart][ingress-nginx-helm-chart], which relies on three container images. Use `az acr import` to import those images into your ACR.
5438

5539
```azurecli
5640
REGISTRY_NAME=<REGISTRY_NAME>
@@ -70,7 +54,7 @@ az acr import --name $REGISTRY_NAME --source $SOURCE_REGISTRY/$DEFAULTBACKEND_IM
7054
> [!NOTE]
7155
> In addition to importing container images into your ACR, you can also import Helm charts into your ACR. For more information, see [Push and pull Helm charts to an Azure container registry][acr-helm].
7256
73-
### Create an ingress controller
57+
## Create an ingress controller
7458

7559
To create the ingress controller, use Helm to install *nginx-ingress*. For added redundancy, two replicas of the NGINX ingress controllers are deployed with the `--set controller.replicaCount` parameter. To fully benefit from running replicas of the ingress controller, make sure there's more than one node in your AKS cluster.
7660

@@ -109,8 +93,6 @@ helm install nginx-ingress ingress-nginx/ingress-nginx \
10993
--set defaultBackend.image.digest=""
11094
```
11195

112-
## Check the load balancer service
113-
11496
When the Kubernetes load balancer service is created for the NGINX ingress controller, a dynamic public IP address is assigned, as shown in the following example output:
11597

11698
```

0 commit comments

Comments
 (0)