mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-09-18 04:01:24 +02:00
AKS - Create dedicated kubernetes service to expose CoreDNS metrics (#2107)
* create service to expose coredns metrics Signed-off-by: Raul Garcia Sanchez <info@raulgarcia.de> * create service to expose coredns metrics Signed-off-by: Raul Garcia Sanchez <info@raulgarcia.de> --------- Signed-off-by: Raul Garcia Sanchez <info@raulgarcia.de>
This commit is contained in:
parent
09135ee9b3
commit
3fff8b5609
@ -10,4 +10,23 @@
|
|||||||
prometheusAdapter+:: {
|
prometheusAdapter+:: {
|
||||||
apiService:: null,
|
apiService:: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
kubernetesControlPlane+: {
|
||||||
|
kubeDnsPrometheusStackService: {
|
||||||
|
apiVersion: 'v1',
|
||||||
|
kind: 'Service',
|
||||||
|
metadata: {
|
||||||
|
name: 'kube-prometheus-stack-coredns',
|
||||||
|
namespace: 'kube-system',
|
||||||
|
labels: { 'k8s-app': 'kube-dns' },
|
||||||
|
},
|
||||||
|
spec: {
|
||||||
|
ports: [
|
||||||
|
{ name: 'metrics', port: 9153, targetPort: 9153 },
|
||||||
|
],
|
||||||
|
selector: { 'k8s-app': 'kube-dns' },
|
||||||
|
clusterIP: 'None',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user