Skip to content

Commit a282777

Browse files
Merge pull request #243019 from JnHs/jh-arck8-proxyreq
clarify proxy requirements
2 parents 27277e2 + 50568c4 commit a282777

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
ms.service: azure-arc
33
ms.topic: include
4-
ms.date: 12/13/2022
4+
ms.date: 06/27/2023
55
---
66

77
Generally, connectivity requirements include these principles:
88

99
- All connections are TCP unless otherwise specified.
1010
- All HTTP connections use HTTPS and SSL/TLS with officially signed and verifiable certificates.
11-
- All connections are outbound unless otherwise specified.
11+
- All connections are outbound unless otherwise specified.
1212

13-
To use a proxy, verify that the agents meet the network requirements in this article.
13+
To use a proxy, verify that the agents and the machine performing the onboarding process meet the network requirements in this article.

articles/azure-arc/kubernetes/quickstart-connect-cluster.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Quickstart: Connect an existing Kubernetes cluster to Azure Arc"
33
description: In this quickstart, you learn how to connect an Azure Arc-enabled Kubernetes cluster.
44
ms.topic: quickstart
5-
ms.date: 03/13/2023
5+
ms.date: 06/27/2023
66
ms.custom: template-quickstart, mode-other, devx-track-azurecli, devx-track-azurepowershell
77
ms.devlang: azurecli
88
---
@@ -15,7 +15,7 @@ For a conceptual look at connecting clusters to Azure Arc, see [Azure Arc-enable
1515

1616
## Prerequisites
1717

18-
In addition to the prerequisites below, be sure to meet all [network requirements for Azure Arc-enabled Kubernetes](network-requirements.md).
18+
In addition to these prerequisites, be sure to meet all [network requirements for Azure Arc-enabled Kubernetes](network-requirements.md).
1919

2020
### [Azure CLI](#tab/azure-cli)
2121

@@ -147,7 +147,7 @@ ResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resource
147147

148148
## Connect an existing Kubernetes cluster
149149

150-
Run the following command to connect your cluster. This command deploys the Azure Arc agents to the cluster and installs Helm v. 3.6.3 to the .azure folder of the deployment machine. This Helm 3 installation is only used for Azure Arc, and it does not remove or change any previously installed versions of Helm on the machine.
150+
Run the following command to connect your cluster. This command deploys the Azure Arc agents to the cluster and installs Helm v. 3.6.3 to the `.azure` folder of the deployment machine. This Helm 3 installation is only used for Azure Arc, and it doesn't remove or change any previously installed versions of Helm on the machine.
151151

152152
In this example, the cluster's name is AzureArcTest1.
153153

@@ -222,15 +222,15 @@ If your cluster is behind an outbound proxy server, requests must be routed via
222222

223223
### [Azure CLI](#tab/azure-cli)
224224

225-
1. Set the environment variables needed for Azure CLI to use the outbound proxy server:
225+
1. On the deployment machine, set the environment variables needed for Azure CLI to use the outbound proxy server:
226226

227227
```bash
228228
export HTTP_PROXY=<proxy-server-ip-address>:<port>
229229
export HTTPS_PROXY=<proxy-server-ip-address>:<port>
230230
export NO_PROXY=<cluster-apiserver-ip-address>:<port>
231231
```
232232

233-
2. Run the connect command with the `proxy-https` and `proxy-http` parameters specified. If your proxy server is set up with both HTTP and HTTPS, be sure to use `--proxy-http` for the HTTP proxy and `--proxy-https` for the HTTPS proxy. If your proxy server only uses HTTP, you can use that value for both parameters.
233+
2. On the Kubernetes cluster, run the connect command with the `proxy-https` and `proxy-http` parameters specified. If your proxy server is set up with both HTTP and HTTPS, be sure to use `--proxy-http` for the HTTP proxy and `--proxy-https` for the HTTPS proxy. If your proxy server only uses HTTP, you can use that value for both parameters.
234234

235235
```azurecli
236236
az connectedk8s connect --name <cluster-name> --resource-group <resource-group> --proxy-https https://<proxy-server-ip-address>:<port> --proxy-http http://<proxy-server-ip-address>:<port> --proxy-skip-range <excludedIP>,<excludedCIDR> --proxy-cert <path-to-cert-file>
@@ -244,15 +244,15 @@ If your cluster is behind an outbound proxy server, requests must be routed via
244244

245245
### [Azure PowerShell](#tab/azure-powershell)
246246

247-
1. Set the environment variables needed for Azure PowerShell to use the outbound proxy server:
247+
1. On the deployment machine, set the environment variables needed for Azure PowerShell to use the outbound proxy server:
248248

249249
```powershell
250250
$Env:HTTP_PROXY = "<proxy-server-ip-address>:<port>"
251251
$Env:HTTPS_PROXY = "<proxy-server-ip-address>:<port>"
252252
$Env:NO_PROXY = "<cluster-apiserver-ip-address>:<port>"
253253
```
254254

255-
2. Run the connect command with the proxy parameter specified:
255+
2. On the Kubernetes cluster, run the connect command with the proxy parameter specified:
256256

257257
```azurepowershell
258258
New-AzConnectedKubernetes -ClusterName <cluster-name> -ResourceGroupName <resource-group> -Location eastus -Proxy 'https://<proxy-server-ip-address>:<port>'
@@ -264,7 +264,7 @@ For outbound proxy servers where only a trusted certificate needs to be provided
264264

265265
> [!NOTE]
266266
>
267-
> * `--custom-ca-cert` is an alias for `--proxy-cert`. Either parameters can be used interchangeably. Passing both parameters in the same command will honour the one passed last.
267+
> * `--custom-ca-cert` is an alias for `--proxy-cert`. Either parameters can be used interchangeably. Passing both parameters in the same command will honor the one passed last.
268268

269269
### [Azure CLI](#tab/azure-cli)
270270

@@ -276,7 +276,7 @@ az connectedk8s connect --name <cluster-name> --resource-group <resource-group>
276276

277277
### [Azure PowerShell](#tab/azure-powershell)
278278

279-
The ability to pass in the proxy certificate only without the proxy server endpoint details is not yet supported via PowerShell.
279+
The ability to pass in the proxy certificate only without the proxy server endpoint details isn't currently supported via PowerShell.
280280
281281
---
282282

0 commit comments

Comments
 (0)