You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Kubernetes integration finds the kubernetes api using DNS which is not always available. Specifically, not all namespaces will have the kubernetes service running (e.g. kube-system).
The preferred mechanism to get the API server host/port is by using the environmental variables injected into every pod: KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT.
From: #2551
The Kubernetes integration finds the
kubernetes
api using DNS which is not always available. Specifically, not all namespaces will have thekubernetes
service running (e.g.kube-system
).The preferred mechanism to get the API server host/port is by using the environmental variables injected into every pod: KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT.
Relevant code: https://github.com/DataDog/dd-agent/blob/master/utils/kubeutil.py#L66
The text was updated successfully, but these errors were encountered: