Skip to content

Commit 684b69b

Browse files
committed
Acrolinx updates
1 parent 620bedb commit 684b69b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/aks/http-proxy.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: schaffererin
1313

1414
In this article, you learn how to configure Azure Kubernetes Service (AKS) clusters to use an HTTP proxy for outbound internet access.
1515

16-
AKS clusters deployed into managed or custom virtual networks have certain outbound dependencies that are necessary to function properly. Previously, in environments requiring internet access to be routed through HTTP proxies, this was a problem. Nodes had no way of bootstrapping the configuration, environment variables, and certificates necessary to access internet services.
16+
AKS clusters deployed into managed or custom virtual networks have certain outbound dependencies that are necessary to function properly, which created problems in environments requiring internet access to be routed through HTTP proxies. Nodes had no way of bootstrapping the configuration, environment variables, and certificates necessary to access internet services.
1717

1818
The HTTP proxy feature adds HTTP proxy support to AKS clusters, exposing a straightforward interface that you can use to secure AKS-required network traffic in proxy-dependent environments. With this feature, both AKS nodes and pods are configured to use the HTTP proxy. The feature also enables installation of a trusted certificate authority onto the nodes as part of bootstrapping a cluster. More complex solutions might require creating a chain of trust to establish secure communications across the network.
1919

@@ -23,7 +23,7 @@ The following scenarios are **not** supported:
2323

2424
* Different proxy configurations per node pool
2525
* User/Password authentication
26-
* Custom CAs for API server communication
26+
* Custom certificate authorities (CAs) for API server communication
2727
* Windows-based clusters
2828
* Node pools using Virtual Machine Availability Sets (VMAS)
2929
* Using * as wildcard attached to a domain suffix for noProxy
@@ -63,8 +63,8 @@ The schema for the config file looks like this:
6363
```
6464

6565
* `httpProxy`: A proxy URL to use for creating HTTP connections outside the cluster. The URL scheme must be `http`.
66-
* `httpsProxy`: A proxy URL to use for creating HTTPS connections outside the cluster. If this isn't specified, then `httpProxy` is used for both HTTP and HTTPS connections.
67-
* `noProxy`: A list of destination domain names, domains, IP addresses or other network CIDRs to exclude proxying.
66+
* `httpsProxy`: A proxy URL to use for creating HTTPS connections outside the cluster. If not specified, then `httpProxy` is used for both HTTP and HTTPS connections.
67+
* `noProxy`: A list of destination domain names, domains, IP addresses, or other network CIDRs to exclude proxying.
6868
* `trustedCa`: A string containing the `base64 encoded` alternative CA certificate content. Currently only the `PEM` format is supported.
6969

7070
> [!IMPORTANT]
@@ -120,7 +120,7 @@ In your template, provide values for `httpProxy`, `httpsProxy`, and `noProxy`. I
120120
> [!NOTE]
121121
> If switching to a new proxy, the new proxy must already exist for the update to be successful. After the upgrade is completed, you can delete the old proxy.
122122
123-
You can update the proxy configuration on your cluster using the [`az aks update`][az-aks-update] command with the `--http-proxy-config` parameter set to a new JSON file with updated values for `httpProxy`, `httpsProxy`, `noProxy`, and `trustedCa` if necessary. The update injects new environment variables into pods with the new `httpProxy`, `httpsProxy`, or `noProxy` values. Pods must be rotated for the apps to pick it up, because the environment variable values are injected by a mutating admission webhook. For components under Kubernetes, like containerd and the node itself, this won't take effect until a node image upgrade is performed.
123+
You can update the proxy configuration on your cluster using the [`az aks update`][az-aks-update] command with the `--http-proxy-config` parameter set to a new JSON file with updated values for `httpProxy`, `httpsProxy`, `noProxy`, and `trustedCa` if necessary. The update injects new environment variables into pods with the new `httpProxy`, `httpsProxy`, or `noProxy` values. Pods must be rotated for the apps to pick it up, because the environment variable values are injected by a mutating admission webhook. For components under Kubernetes, like containerd and the node itself, this doesn't take effect until a node image upgrade is performed.
124124

125125
For example, let's say you created a new file with the base64 encoded string of the new CA cert called *aks-proxy-config-2.json*. You can update the proxy configuration on your cluster with the following command:
126126

@@ -130,7 +130,7 @@ az aks update --name $clusterName --resource-group $resourceGroup --http-proxy-c
130130

131131
## Upgrade AKS node images
132132

133-
After configuring the proxy, you must upgrade the node image to apply the changes. The node image upgrade process is the only way to update the OS files required for proxy configuration updates. The node image upgrade process is a rolling upgrade that updates the OS image on each node in the node pool. The upgrade process is controlled by the AKS control plane and is non-disruptive to running applications.
133+
After configuring the proxy, you must upgrade the node image to apply the changes. The node image upgrade process is the only way to update the OS files required for proxy configuration updates. The node image upgrade process is a rolling upgrade that updates the OS image on each node in the node pool. The AKS control plane handles the upgrade process, which is nondisruptive to running applications.
134134

135135
To upgrade AKS node images, see [Upgrade Azure Kubernetes Service (AKS) node images](./node-image-upgrade.md).
136136

0 commit comments

Comments
 (0)