Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
bugfix for a typo in install-kube-system scripts
Browse files Browse the repository at this point in the history
It was preventing following deployments to be started:
 - kube-dns
 - kube-dns-autoscaler
 - heapster
  • Loading branch information
redbaron committed Jan 13, 2017
1 parent 2f60703 commit 59638ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/templates/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ coreos:
Restart=on-failure
ExecStartPre=/usr/bin/systemctl is-active kubelet.service
ExecStartPre=/usr/bin/systemctl is-active docker.service
ExecStartPre=/usr/bin/curl http://127.0.0.1:8080/version
ExecStartPre=/usr/bin/curl -s -f http://127.0.0.1:8080/version
ExecStart=/opt/bin/install-kube-system

{{ if .UseCalico }}
Expand All @@ -214,7 +214,7 @@ coreos:
Restart=on-failure
ExecStartPre=/usr/bin/systemctl is-active kubelet.service
ExecStartPre=/usr/bin/systemctl is-active docker.service
ExecStartPre=/usr/bin/curl http://127.0.0.1:8080/version
ExecStartPre=/usr/bin/curl -s -f http://127.0.0.1:8080/version
ExecStart=/opt/bin/install-calico-system
{{ end }}
{{ if $.ElasticFileSystemID }}
Expand Down Expand Up @@ -374,7 +374,7 @@ write_files:
}

mfdir=/srv/kubernetes/manifests
for manifest in $mfdir/{kube-dns-de,kube-dns-autoscaler-de,heapster-de}.yaml;do
for manifest in {kube-dns-de,kube-dns-autoscaler-de,heapster-de}.yaml; do
post_yaml "@$mfdir/$manifest" \
"http://127.0.0.1:8080/apis/extensions/v1beta1/namespaces/kube-system/deployments"
done
Expand Down

0 comments on commit 59638ea

Please sign in to comment.