Skip to content

Commit

Permalink
Merge pull request kubernetes-retired#1036 from camilb/fix-metrics-se…
Browse files Browse the repository at this point in the history
…rver-manifests

Fix the creation of all metrics-server resources.
  • Loading branch information
camilb authored Nov 24, 2017
2 parents 9b9a7cf + 7ec0adb commit a70782b
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 a70782b

Please sign in to comment.