Skip to content

Commit 206469b

Browse files
Merge pull request #251921 from miwithro/patch-245
Update http-proxy.md
2 parents a23ffa2 + 548e775 commit 206469b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/aks/http-proxy.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.subservice: aks-networking
55
ms.custom: devx-track-arm-template, devx-track-azurecli
66
author: asudbring
77
ms.topic: how-to
8-
ms.date: 02/01/2023
8+
ms.date: 09/18/2023
99
ms.author: allensu
1010
---
1111

@@ -22,7 +22,6 @@ Some more complex solutions may require creating a chain of trust to establish s
2222
The following scenarios are **not** supported:
2323

2424
- Different proxy configurations per node pool
25-
- Updating HTTP/HTTPS proxy settings post cluster creation
2625
- User/Password authentication
2726
- Custom CAs for API server communication
2827
- Windows-based clusters
@@ -109,7 +108,10 @@ In your template, provide values for *httpProxy*, *httpsProxy*, and *noProxy*. I
109108

110109
## Updating Proxy configurations
111110

112-
Values for *httpProxy*, and *httpsProxy* can't be changed after cluster creation. However, the values for *trustedCa* and *NoProxy* can be changed and applied to the cluster with the [az aks update][az-aks-update] command. An aks update for *NoProxy* will automatically inject new environment variables into pods with the new *NoProxy* values. Pods must be rotated for the apps to pick it up. For components under kubernetes, like containerd and the node itself, this won't take effect until a node image upgrade is performed.
111+
> [!NOTE]
112+
> If switching to a new proxy, the new proxy must already exist for the update to be successful. Then, after the upgrade is completed the old proxy can be deleted.
113+
114+
Values for *httpProxy*, *httpsProxy*, *trustedCa* and *NoProxy* can be changed and applied to the cluster with the [az aks update][az-aks-update] command. An aks update for *httpProxy*, *httpsProxy*, and/or *NoProxy* will automatically inject new environment variables into pods with the new *httpProxy*, *httpsProxy*, or *NoProxy* values. Pods must be rotated for the apps to pick it up. For components under kubernetes, like containerd and the node itself, this won't take effect until a node image upgrade is performed.
113115

114116
For example, assuming a new file has been created with the base64 encoded string of the new CA cert called *aks-proxy-config-2.json*, the following action updates the cluster. Or, you need to add new endpoint urls for your applications to No Proxy:
115117

0 commit comments

Comments
 (0)