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

[BUG] kube-state-metrics throws error if a later version than the chart default is used #24506

Open
andyr8939 opened this issue Apr 9, 2024 · 1 comment

Comments

@andyr8939
Copy link

Agent Environment
AKS 1.27.9 with DataDog Agent 7.52.1 and Kube-State-Metrics v1.9.8

Describe what happened:
We started getting crashes on the datadog kube state metrics deployment, so upgraded it via the DataDog Helm Chart to the latest image tag v2.12.0 as per https://github.com/kubernetes/kube-state-metrics?tab=readme-ov-file#compatibility-matrix but then we get
Error: unknown flag: --collectors error in the pod and it fails to start

Describe what you expected:
Agent will run with the latest version of v2.12.0

Steps to reproduce the issue:
Change the image tag of the default datadog kube-state-metrics deployment to v2.12.0, either manually or via the helm chart.

Additional environment details (Operating System, Cloud provider, etc):
AKS 1.27.9

@siriusfreak
Copy link

Hi. Seems answer to your (and mine) question is here: DataDog/helm-charts#825

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

2 participants