Skip to content
Snippets Groups Projects
Unverified Commit 3fff8b56 authored by Raúl Garcia Sanchez's avatar Raúl Garcia Sanchez Committed by GitHub
Browse files

AKS - Create dedicated kubernetes service to expose CoreDNS metrics (#2107)


* create service to expose coredns metrics

Signed-off-by: default avatarRaul Garcia Sanchez <info@raulgarcia.de>

* create service to expose coredns metrics

Signed-off-by: default avatarRaul Garcia Sanchez <info@raulgarcia.de>

---------

Signed-off-by: default avatarRaul Garcia Sanchez <info@raulgarcia.de>
parent 09135ee9
No related branches found
No related tags found
No related merge requests found
......@@ -10,4 +10,23 @@
prometheusAdapter+:: {
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',
},
},
},
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment