datadog-agent
datadog-agent copied to clipboard
cluster-agent: ignore ComponentStatus as it is deprecated
Describe what happened: Seeing error from datadog cluster agent:
Could not retrieve the status from the control plane's components Get "https://10.236.0.1:443/api/v1/componentstatuses?timeout=10s&timeoutSeconds=10": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
https://kubernetes.io/docs/setup/release/notes/#changes-by-kind-7
Kube-apiserver: the componentstatus API is deprecated.
Describe what you expected: Get rid of ComponentStatus after it has been deprecated, by removing https://github.com/DataDog/datadog-agent/blob/master/pkg/collector/corechecks/cluster/kubernetesapiserver/kubernetes_apiserver.go#L177-L186
Hi @yizhang-zen. We will address this issue with DCA version 1.12: https://github.com/DataDog/datadog-agent/pull/7946
Any development on this? I see that agent version 7.30.0 (https://github.com/DataDog/datadog-agent/pull/8577) introduced a flag to disable this. Is that flag accessible for users of the helm chart?