From 7ec0adb6b5847967a4c51be83448678e6b8724f5 Mon Sep 17 00:00:00 2001 From: Camil Blanaru Date: Fri, 24 Nov 2017 16:28:09 +0100 Subject: [PATCH] Fix the creation of all metrics-server resources. --- core/controlplane/config/templates/cloud-config-controller | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/controlplane/config/templates/cloud-config-controller b/core/controlplane/config/templates/cloud-config-controller index 0e2ba7098..ad57e80f3 100644 --- a/core/controlplane/config/templates/cloud-config-controller +++ b/core/controlplane/config/templates/cloud-config-controller @@ -822,7 +822,7 @@ write_files: {{ end }} # Deployments - for manifest in {kube-dns,kube-dns-autoscaler,kubernetes-dashboard,{{ if .Addons.ClusterAutoscaler.Enabled }}cluster-autoscaler,{{ end }}heapster{{ if .KubeResourcesAutosave.Enabled }},kube-resources-autosave{{ end }}}; do + for manifest in {kube-dns,kube-dns-autoscaler,kubernetes-dashboard,{{ if .Addons.ClusterAutoscaler.Enabled }}cluster-autoscaler,{{ end }}heapster{{ if .KubeResourcesAutosave.Enabled }},kube-resources-autosave{{ end }},metrics-server}; do kubectl apply -f "${mfdir}/$manifest-de.yaml" done @@ -832,7 +832,7 @@ write_files: done # Services - for manifest in {kube-dns,heapster,kubernetes-dashboard}; do + for manifest in {kube-dns,heapster,kubernetes-dashboard,metrics-server}; do kubectl apply -f "${mfdir}/$manifest-svc.yaml" done