Skip to content

Commit 895f67c

Browse files
Merge pull request #226717 from austonli/patch-30
Proxy support in container insights
2 parents e323c0e + ae4feeb commit 895f67c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

articles/aks/http-proxy.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ The HTTP proxy with the Monitoring add-on supports the following configurations:
126126
The following configurations aren't supported:
127127

128128
- The Custom Metrics and Recommended Alerts features aren't supported when you use a proxy with trusted certificates
129-
- Outbound proxy isn't supported with Azure Monitor Private Link Scope (AMPLS)
130129

131130
## Next steps
132131

articles/azure-monitor/containers/container-insights-agent-config.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ The following table describes the settings you can configure to control metric c
4545

4646
ConfigMap is a global list and there can be only one ConfigMap applied to the agent. You can't have another ConfigMap overruling the collections.
4747

48+
### Agent settings for outbound proxy with Azure Monitor Private Link Scope (AMPLS)
49+
50+
| Key | Data type | Value | Description |
51+
|--|--|--|--|
52+
| `[agent_settings.proxy_config] ignore_proxy_settings =` | Boolean | True or false | Set this value to true to ignore proxy settings. On both AKS & Arc K8s enviornments, if your cluster is configured with forward proxy, then proxy settings are automatically applied and used for the agent. For certain configurations, such as, with AMPLS + Proxy, you may with for the proxy config to be ignored. . By default, this setting is set to `false`. |
53+
4854
## Configure and deploy ConfigMaps
4955

5056
To configure and deploy your ConfigMap configuration file to your cluster:
@@ -66,6 +72,7 @@ To configure and deploy your ConfigMap configuration file to your cluster:
6672

6773
The configuration change can take a few minutes to finish before taking effect. Then all Azure Monitor Agent pods in the cluster will restart. The restart is a rolling restart for all Azure Monitor Agent pods, so not all of them restart at the same time. When the restarts are finished, a message similar to this example includes the following result: `configmap "container-azm-ms-agentconfig" created`.
6874

75+
6976
## Verify configuration
7077

7178
To verify the configuration was successfully applied to a cluster, use the following command to review the logs from an agent pod: `kubectl logs ama-logs-fdf58 -n kube-system`. If there are configuration errors from the Azure Monitor Agent pods, the output will show errors similar to the following example:

0 commit comments

Comments
 (0)