From 13c4199742e4a7336adf982234d82d469981526e Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Mon, 27 Nov 2017 18:39:17 -0600 Subject: [PATCH] Adds extra args for kube_scheduler deploy This adds extra args for the kube-scheduler to expose metrics on port 10251 on all interfaces. This allows for Prometheus to gather metrics for the scheduler Change-Id: I26d473f511f6541a14a9387be1ce56841572bfff --- .../deploy-kubeadm-master/templates/kubeadm-conf.yaml.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/templates/kubeadm-conf.yaml.j2 b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/templates/kubeadm-conf.yaml.j2 index 341112557..690a0a53d 100644 --- a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/templates/kubeadm-conf.yaml.j2 +++ b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/templates/kubeadm-conf.yaml.j2 @@ -37,9 +37,9 @@ controllerManagerExtraArgs: address: "0.0.0.0" port: "10252" # : -# schedulerExtraArgs: -# : -# : +schedulerExtraArgs: + address: "0.0.0.0" + port: "10251" # apiServerCertSANs: # - # -