Skip to content

Commit a79f7ab

Browse files
committed
Updates for PR
1 parent 783ac94 commit a79f7ab

File tree

1 file changed

+6
-39
lines changed

1 file changed

+6
-39
lines changed

articles/aks/configure-azure-cni-static-block-allocation.md

Lines changed: 6 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ where N is any positive integer and N > 0
5959
This feature is **_not_** available in the following regions:
6060
6161
- US South
62-
- EastUS2
63-
- WestUS
64-
- WestUS2
62+
- East US 2
63+
- West US
64+
- West US 2
6565
6666
## Plan IP addressing
6767
@@ -93,7 +93,7 @@ The [deployment parameters][azure-cni-deployment-parameters]for configuring basi
9393
## Before you begin
9494
9595
- If using the Azure CLI, you need the `aks-preview` extension. See [Install the `aks-preview` Azure CLI extension](#install-the-aks-preview-azure-cli-extension).
96-
- If using ARM or the REST API, the AKS API version must be *2024-01-02-preview or later*.
96+
- If using ARM or the REST API, the AKS API version must be _2024-01-02-preview or later_.
9797
9898
### Install the `aks-preview` Azure CLI extension
9999
@@ -117,7 +117,7 @@ The [deployment parameters][azure-cni-deployment-parameters]for configuring basi
117117
az feature register --namespace "Microsoft.ContainerService" --name "AzureVnetScalePreview"
118118
```
119119
120-
It takes a few minutes for the status to show *Registered*.
120+
It takes a few minutes for the status to show _Registered_.
121121
122122
2. Verify the registration status using the [`az feature show`][az-feature-show] command.
123123
@@ -185,44 +185,11 @@ az aks nodepool add --cluster-name $clusterName -g $resourceGroup -n newnodepoo
185185
--no-wait
186186
```
187187

188-
## Monitor IP subnet usage
189-
190-
Azure CNI provides the capability to monitor IP subnet usage. To enable IP subnet usage monitoring, follow the steps below:
191-
192-
### Get the YAML file
193-
194-
1. Download or grep the file named container-azm-ms-agentconfig.yaml from [GitHub][github].
195-
196-
2. Find **`azure_subnet_ip_usage`** in integrations. Set `enabled` to `true`.
197-
198-
3. Save the file.
199-
200-
### Get the AKS credentials
201-
202-
Set the variables for subscription, resource group and cluster. Consider the following as examples:
203-
204-
```azurecli-interactive
205-
az account set -s $subscription
206-
az aks get-credentials -n $clusterName -g $resourceGroup
207-
```
208-
209-
### Apply the config
210-
211-
1. Open terminal in the folder the downloaded **container-azm-ms-agentconfig.yaml** file is saved.
212-
213-
2. First, apply the config using the command: `kubectl apply -f container-azm-ms-agentconfig.yaml`
214-
215-
3. This will restart the pod and after 5-10 minutes, the metrics will be visible.
216-
217-
4. To view the metrics on the cluster, go to Workbooks on the cluster page in the Azure portal, and find the workbook named "Subnet IP Usage". Your view will look similar to the following:
218-
219-
:::image type="content" source="media/configure-azure-cni-dynamic-ip-allocation/ip-subnet-usage.png" alt-text="A diagram of the Azure portal's workbook blade is shown, and metrics for an AKS cluster's subnet IP usage are displayed.":::
220-
221188
## Static allocation of CIDR blocks and enhanced subnet support FAQs
222189

223190
* **Can I assign multiple pod subnets to a cluster?**
224191

225-
Yes, multiple subnets can be assigned to a cluster but only one subnet can be assigned to each node pool. Different node pools across the same/different cluster can share the same subnet.
192+
Multiple subnets can be assigned to a cluster but only one subnet can be assigned to each node pool. Different node pools across the same/different cluster can share the same subnet.
226193

227194
* **Can I assign Pod subnets from a different VNet altogether?**
228195

0 commit comments

Comments
 (0)