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

cluster-agent: ignore ComponentStatus as it is deprecated #7808

Open
yizhang-zen opened this issue Apr 5, 2021 · 2 comments
Open

cluster-agent: ignore ComponentStatus as it is deprecated #7808

yizhang-zen opened this issue Apr 5, 2021 · 2 comments

Comments

@yizhang-zen
Copy link

yizhang-zen commented Apr 5, 2021

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

@kaitlavs
Copy link
Contributor

Hi @yizhang-zen. We will address this issue with DCA version 1.12: #7946

@atmask
Copy link

atmask commented Mar 5, 2024

Any development on this? I see that agent version 7.30.0 (#8577) introduced a flag to disable this. Is that flag accessible for users of the helm chart?

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

3 participants