Skip to content

Commit bef386d

Browse files
committed
Edits
1 parent 5a0f429 commit bef386d

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

articles/aks/limit-egress-traffic.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,13 @@ Provision a virtual network with two separate subnets: one for the cluster and o
7474
7575
```azurecli
7676
# Dedicated virtual network with AKS subnet
77-
<<<<<<< HEAD
78-
79-
<<<<<<< HEAD
80-
=======
81-
>>>>>>> 5e9ad6d2eb44aafc705156cb108dfcd910c93e9b
8277
az network vnet create \
8378
--resource-group $RG \
8479
--name $VNET_NAME \
8580
--location $LOC \
8681
--address-prefixes 10.42.0.0/16 \
8782
--subnet-name $AKSSUBNET_NAME \
8883
--subnet-prefix 10.42.1.0/24
89-
<<<<<<< HEAD
90-
=======
91-
```azurecli
92-
# Dedicated virtual network with AKS subnet
93-
>>>>>>> 3fd8d1fba64a42875809635a5dd59df79e769e09
94-
=======
95-
>>>>>>> 5e9ad6d2eb44aafc705156cb108dfcd910c93e9b
9684
9785
# Dedicated subnet for Azure Firewall (Firewall name can't be changed)
9886
az network vnet subnet create \
@@ -330,17 +318,7 @@ If you used authorized IP ranges for your cluster in the previous step, you need
330318
CURRENT_IP=$(dig @resolver1.opendns.com ANY myip.opendns.com +short)
331319
```
332320

333-
<<<<<<< HEAD
334-
<<<<<<< HEAD
335-
2. Add the IP address to the approved ranges using the [`az aks update`][az-aks-update] command.
336-
=======
337-
```azurecli
338-
# Retrieve your IP address
339-
CURRENT_IP=$(dig @resolver1.opendns.com ANY myip.opendns.com +short)
340-
>>>>>>> 3fd8d1fba64a42875809635a5dd59df79e769e09
341-
=======
342321
2. Add the IP address to the approved ranges using the [`az aks update`][az-aks-update] command.
343-
>>>>>>> 5e9ad6d2eb44aafc705156cb108dfcd910c93e9b
344322

345323
```azurecli
346324
az aks update -g $RG -n $AKSNAME --api-server-authorized-ip-ranges $CURRENT_IP/32

0 commit comments

Comments
 (0)