From 593a9a262d8c81e6d6dafeb9837dfa97cd119753 Mon Sep 17 00:00:00 2001 From: Julien C <1155591+julienc23@users.noreply.github.com> Date: Mon, 10 Dec 2018 10:45:00 +0100 Subject: [PATCH] Add metrics service to kube-dns (#3852) Metrics port is exposed through a service for CoreDNS but not for kube-dns. --- roles/kubernetes-apps/ansible/templates/kubedns-svc.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/kubernetes-apps/ansible/templates/kubedns-svc.yml.j2 b/roles/kubernetes-apps/ansible/templates/kubedns-svc.yml.j2 index 6bc5f9240..8c419578c 100644 --- a/roles/kubernetes-apps/ansible/templates/kubedns-svc.yml.j2 +++ b/roles/kubernetes-apps/ansible/templates/kubedns-svc.yml.j2 @@ -20,3 +20,6 @@ spec: - name: dns-tcp port: 53 protocol: TCP + - name: metrics + port: 10055 + protocol: TCP