Open luarx opened 2 years ago
What are the labels on this Service when using kops 1.21+
?
Bear in mind main
branch is not supporting kubernetes 1.20 and earlier - https://github.com/prometheus-operator/kube-prometheus#kubernetes-compatibility-matrix
Yeah!
Right now I am using kops 1.20
and kube-prometheus release-0.8 branch
Do you mean that maybe it is fixed in the main branch?
What happened? kube-dns-prometheus-discovery is not using the right label selector when using kops_coredns as platform
Did you expect to see some different? Instead of using
'app.kubernetes.io/name': 'kube-dns'
, I expected to seek8s-app: kube-dns
How to reproduce it (as minimally and precisely as possible):
Environment
Prometheus Operator version:
quay.io/prometheus-operator/prometheus-operator:v0.47.0
Kubernetes cluster kind:
kops. kops version was updated from 1.19 to 1.20. As you know, version 1.20 declared coredns as default (before was kube-dns) https://github.com/kubernetes/kops/releases/tag/v1.20.0
Manifests:
core-dns
kube-dns-prometheus-discovery
Anything else we need to know?:
Platform used