Skip to content

Commit

Permalink
Fix the creation of all metrics-server resources.
Browse files Browse the repository at this point in the history
  • Loading branch information
camilb committed Nov 24, 2017
1 parent 9b9a7cf commit 7ec0adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/controlplane/config/templates/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 7ec0adb

Please sign in to comment.