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
Windows OutboundNAT can cause certain connection and communication issues with your AKS pods. An example issue is node port reuse. In this example, Windows OutboundNAT uses ports to translate your pod IP to your Windows node host IP, which can cause an unstable connection to the external service due to a port exhaustion issue.
137
137
138
138
Windows enables OutboundNAT by default. You can now manually disable OutboundNAT when creating new Windows agent pools.
139
139
140
140
### Prerequisites
141
141
142
-
* If you're using Kubernetes version 1.25 or older, you need to [update your deployment configuration][upgrade-kubernetes].
143
-
* You need to install or update `aks-preview` and register the feature flag.
144
-
145
-
1. Install or update `aks-preview` using the [`az extension add`][az-extension-add] or [`az extension update`][az-extension-update] command.
146
-
147
-
```azurecli-interactive
148
-
# Install aks-preview
149
-
az extension add --name aks-preview
150
-
151
-
# Update aks-preview
152
-
az extension update --name aks-preview
153
-
```
154
-
155
-
2. Register the feature flag using the [`az feature register`][az-feature-register] command.
156
-
157
-
```azurecli-interactive
158
-
az feature register --namespace Microsoft.ContainerService --name DisableWindowsOutboundNATPreview
159
-
```
160
-
161
-
3. Check the registration status using the [`az feature list`][az-feature-list] command.
162
-
163
-
```azurecli-interactive
164
-
az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/DisableWindowsOutboundNATPreview')].{Name:name,State:properties.state}"
165
-
```
166
-
167
-
4. Refresh the registration of the `Microsoft.ContainerService` resource provider using the [`az provider register`][az-provider-register] command.
168
-
169
-
```azurecli-interactive
170
-
az provider register --namespace Microsoft.ContainerService
171
-
```
142
+
* Existing AKS cluster with v1.26 or above. If you're using Kubernetes version 1.25 or older, you need to [update your deployment configuration][upgrade-kubernetes].
0 commit comments