Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Datadog Operator Pod] Proxy support #1544

Open
rhallier opened this issue Nov 28, 2024 · 2 comments
Open

[Datadog Operator Pod] Proxy support #1544

rhallier opened this issue Nov 28, 2024 · 2 comments

Comments

@rhallier
Copy link

Hi,
In the Datadog Operator pod, I got some errors such as :
{"level":"ERROR","ts":"2024-11-28T17:02:28.156Z","logger":"DatadogMetricForwarders","msg":"cannot retrieve Datadog metrics forwarder to send deployment metrics, will retry later...","CustomResource.Namespace":"datadog","CustomResource.Name":"datadog","error":"cannot validate datadog credentials: Get \"https://api.datadoghq.eu/api/v1/validate\": dial tcp 34.107.236.155:443: i/o timeout"}

It's because the k8s infra is behind a proxy. Except the pod operator itself, all the other pods (ClusterAgent, NodeAgent, ..) are correctly configured to use a proxy by adding env var DD_PROXY_HTTPS
I tried to add the same env var for the operator pod but without success
Any tips?

@khewonc
Copy link
Contributor

khewonc commented Dec 4, 2024

Hi @rhallier, could you try using HTTPS_PROXY and HTTP_PROXY in the operator deployment? Env vars can be added using env if you're using the public helm chart for the operator

@Sillychilly91
Copy link

How would we pass those to the operator? Would it be via an override the same as the nodeagent? Like the below:

spec: override: operator: env: - name: HTTPS_PROXY value: <Proxy address>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants