Skip to content

Commit 2ed54a6

Browse files
authored
Merge pull request #218626 from johnmarco/jm-k8s-connections-update
Update to Kubernetes connections issues article
2 parents 34e90f5 + 57ba406 commit 2ed54a6

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

articles/azure-arc/kubernetes/diagnose-connection-issues.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,24 @@ When you [create your support request](../../azure-portal/supportability/how-to-
7676

7777
If you are using a proxy server on at least one machine, complete the first five steps of the non-proxy flowchart (through resource provider registration) for basic troubleshooting steps. Then, if you are still encountering issues, review the next flowchart for additional troubleshooting steps. More details about each step are provided below.
7878

79-
:::image type="content" source="media/diagnose-connection-issues/proxy-flowchart.png" alt-text="Flowchart showing a visual representation of checking for connection issues when using a proxy." lightbox="media/diagnose-connection-issues/proxy-flowchart.png":::
79+
:::image type="content" source="media/diagnose-connection-issues/proxy-flowchart-2.png" alt-text="Flowchart showing a visual representation of checking for connection issues when using a proxy." lightbox="media/diagnose-connection-issues/proxy-flowchart.png":::
8080

8181
### Is the machine executing commands behind a proxy server?
8282

83+
If the machine is executing commands behind a proxy server, you'll need to set any necessary environment variables, [explained below](#set-environment-variables).
84+
85+
### Set environment variables
86+
8387
Be sure you have set all of the necessary environment variables. For more information, see [Connect using an outbound proxy server](quickstart-connect-cluster.md#connect-using-an-outbound-proxy-server).
8488

89+
For example:
90+
91+
```bash
92+
export HTTP_PROXY=“http://<proxyIP>:<proxyPort>
93+
export HTTPS_PROXY=“https://<proxyIP>:<proxyPort>
94+
export NO_PROXY=“<service CIDR>,Kubernetes.default.svc,.svc.cluster.local,.svc”
95+
```
96+
8597
### Does the proxy server only accept trusted certificates?
8698

8799
Be sure to include the certificate file path by including `--proxy-cert <path-to-cert-file>` when running the `az connectedk8s connect` command.
@@ -128,7 +140,6 @@ az connectedk8s troubleshoot -g <myResourceGroup> -n <myK8sCluster>
128140

129141
When you [create your support request](../../azure-portal/supportability/how-to-create-azure-support-request.md), in the **Additional details** section, use the **File upload** option to upload the generated log file.
130142

131-
132143
## Next steps
133144

134145
- View more [troubleshooting tips for using Azure Arc-enabled Kubernetes](troubleshooting.md).
1.84 MB
Loading

0 commit comments

Comments
 (0)