From 5555ca56f8358546a72a721ce2b64da6002e0fbb Mon Sep 17 00:00:00 2001 From: Jean-Hadrien Chabran Date: Wed, 28 Jun 2023 14:43:38 +0200 Subject: [PATCH] fix: force prom-wrapper to netdns=go Sister PR of https://github.com/sourcegraph/deploy-sourcegraph-docker/pull/927 --- base/prometheus/prometheus.Deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/prometheus/prometheus.Deployment.yaml b/base/prometheus/prometheus.Deployment.yaml index 674e65f86a67..5c2ed9a88add 100644 --- a/base/prometheus/prometheus.Deployment.yaml +++ b/base/prometheus/prometheus.Deployment.yaml @@ -34,6 +34,9 @@ spec: timeoutSeconds: 3 failureThreshold: 120 periodSeconds: 5 + env: + - name: GODEBUG + value: "netdns=go" ports: - containerPort: 9090 name: http