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/aks/nat-gateway.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: Managed NAT Gateway
2
+
title: Create a managed or user-assigned NAT gateway
3
3
titleSuffix: Azure Kubernetes Service
4
-
description: Learn how to create an AKS cluster with managed NAT integration
4
+
description: Learn how to create an AKS cluster with managed NAT integration and user-assigned NAT gateway.
5
5
author: asudbring
6
6
ms.subservice: aks-networking
7
7
ms.custom: devx-track-azurecli
@@ -10,21 +10,21 @@ ms.date: 10/26/2021
10
10
ms.author: allensu
11
11
---
12
12
13
-
# Managed NAT Gateway
13
+
# Create a managed or user-assigned NAT gateway
14
14
15
15
While you can route egress traffic through an Azure Load Balancer, there are limitations on the amount of outbound flows of traffic you can have. Azure NAT Gateway allows up to 64,512 outbound UDP and TCP traffic flows per IP address with a maximum of 16 IP addresses.
16
16
17
-
This article shows you how to create an AKS cluster with a Managed NAT Gateway for egress traffic and how to disable OutboundNAT on Windows.
17
+
This article shows you how to create an AKS cluster with a managed NAT gateway and a user-assigned NAT gateway for egress traffic and how to disable OutboundNAT on Windows.
18
18
19
19
## Before you begin
20
20
21
21
* Make sure you're using the latest version of [Azure CLI][az-cli].
22
22
* Make sure you're using Kubernetes version 1.20.x or above.
23
23
* Managed NAT Gateway is incompatible with custom virtual networks.
24
24
25
-
## Create an AKS cluster with a Managed NAT Gateway
25
+
## Create an AKS cluster with a managed NAT gateway
26
26
27
-
To create an AKS cluster with a new Managed NAT Gateway, use `--outbound-type managedNATGateway`, `--nat-gateway-managed-outbound-ip-count`, and `--nat-gateway-idle-timeout` when running `az aks create`. If you want the NAT gateway to be able to operate out of availability zones, specify the zones using `--zones`.
27
+
To create an AKS cluster with a new managed NAT Gateway, use `--outbound-type managedNATGateway`, `--nat-gateway-managed-outbound-ip-count`, and `--nat-gateway-idle-timeout` when running `az aks create`. If you want the NAT gateway to be able to operate out of availability zones, specify the zones using `--zones`.
28
28
29
29
The following example creates a *myResourceGroup* resource group, then creates a *natCluster* AKS cluster in *myResourceGroup* with a Managed NAT Gateway, two outbound IPs, and an idle timeout of 30 seconds.
30
30
@@ -56,9 +56,9 @@ az aks update \
56
56
--nat-gateway-managed-outbound-ip-count 5
57
57
```
58
58
59
-
## Create an AKS cluster with a user-assigned NAT Gateway
59
+
## Create an AKS cluster with a user-assigned NAT gateway
60
60
61
-
To create an AKS cluster with a user-assigned NAT Gateway, use `--outbound-type userAssignedNATGateway` when running `az aks create`. This configuration requires bring-your-own networking (via [Kubenet][byo-vnet-kubenet] or [Azure CNI][byo-vnet-azure-cni]) and that the NAT Gateway is preconfigured on the subnet. The following commands create the required resources for this scenario. Make sure to run them all in the same session so that the values stored to variables are still available for the `az aks create` command.
61
+
To create an AKS cluster with a user-assigned NAT gateway, use `--outbound-type userAssignedNATGateway` when running `az aks create`. This configuration requires bring-your-own networking (via [Kubenet][byo-vnet-kubenet] or [Azure CNI][byo-vnet-azure-cni]) and that the NAT Gateway is preconfigured on the subnet. The following commands create the required resources for this scenario. Make sure to run them all in the same session so that the values stored to variables are still available for the `az aks create` command.
0 commit comments