prometheus / test-infra

Prometheus E2E benchmarking tool
Apache License 2.0
156 stars 67 forks source link

kube-state-metrics uses unknown configuration flag `--collectors=namespaces ` #721

Closed Vandit1604 closed 2 months ago

Vandit1604 commented 2 months ago

https://github.com/prometheus/test-infra/blob/b2a0134637628a720fc5303bcb2de31f7275545b/prombench/manifests/cluster-infra/4_kube-state-metrics.yaml#L101-L104

kubectl logs pod/kube-state-metrics-8544665d78-ttmr5 -n kube-system
Error: unknown flag: --collectors
Usage:
  kube-state-metrics [flags]
  kube-state-metrics [command]

Available Commands:
  completion  Generate completion script for kube-state-metrics.
  help        Help about any command
  version     Print version information.