• Log inStart now

Configure Kubernetes with a proxy

If you are running our Kubernetes integration with a proxy, you need to configure each component (the infrastructure agent, logging and synthetics minion) to correctly work with your proxy.

Install the infrastructure agent with a proxy

The proxy can be configured by setting the global.proxy configuration option and configure all the kubernetes integration at the same time. The global configuration is shared with the dependencies by modifying the values.yaml file of the nri-bundle:

global.proxy: https://user:password@hostname:port

This will configure all the infrastructure agents, the kubernetes integration, the Metrics Adapter, and the Prometheus OpenMetrics at the same time.

Important

We do not support Proxy in the Kubernetes infrastructure operator yet.

Install New Relic Metrics Adapter with a proxy

Set logging with a proxy

If you're using log forwarding for the Kubernetes integration, the plugin automatically detects the HTTP_PROXY and HTTPS_PROXY environment variables, and automatically uses them to set up the proxy configuration. For more information, see how to customize the proxy, or bypass it.

Set the synthetics minion to use a proxy

Check this README on how to set the proxy for the synthetic minions.

Copyright © 2022 New Relic Inc.