kubernetes-sigs / prometheus-adapter

An implementation of the custom.metrics.k8s.io API using Prometheus
Apache License 2.0
1.9k stars 551 forks source link

Breaks v1.27.x clusters #581

Closed SammyA closed 1 year ago

SammyA commented 1 year ago

What happened?: Upgraded kubernetes to v1.27.x. Various k8s-clients started crashing (helm, k9s, metallb, ...). Seems like prom-adapter returns malformed metrics (see https://github.com/kubernetes/kubernetes/pull/116603). Uninstalling prom-adapter fixes the crashes.

Environment:

Steps to reproduce

sirantd commented 1 year ago

Even internal cluster components affected by it would be great if can be fixed.

https://github.com/aws/amazon-vpc-cni-k8s/issues/2393

jmriebold commented 1 year ago

This is affecting our clusters as well, everything from AWS VPC CNI to Helm to Flux.

CC @dgrisonnet @olivierlemasle

dgrisonnet commented 1 year ago

/assign

dgrisonnet commented 1 year ago

/triage accepted

colinrgodsey commented 1 year ago

PR for the helm chart updates: https://github.com/prometheus-community/helm-charts/pull/3641