Skip to content

Commit

Permalink
Merge pull request kubernetes#5197 from erictune/coreos_fix_proxy
Browse files Browse the repository at this point in the history
Kube-proxy to use apiserver instead of etcd in CoreOS getting-started-guide.
  • Loading branch information
nikhiljindal committed Mar 10, 2015
2 parents 25ff33a + 35ebf71 commit 4805aec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started-guides/aws/cloud-configs/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ coreos:
ExecStartPre=/usr/bin/wget -N -P /opt/bin https://storage.googleapis.com/kubernetes-release/release/v0.11.0/bin/linux/amd64/kube-proxy
ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-proxy
ExecStart=/opt/bin/kube-proxy \
--etcd_servers=http://<master-private-ip>:4001 \
--master=http://<master-private-ip>:8080 \
--logtostderr=true
Restart=always
RestartSec=10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
" ExecStartPre=/usr/bin/wget -N -P /opt/bin https://storage.googleapis.com/kubernetes-release/release/v0.11.0/bin/linux/amd64/kube-proxy\n",
" ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-proxy\n",
" ExecStart=/opt/bin/kube-proxy \\\n",
" --etcd_servers=http://", {"Fn::GetAtt" :["KubernetesMasterInstance" , "PrivateIp"]}, ":4001\\\n",
" --master=http://", {"Fn::GetAtt" :["KubernetesMasterInstance" , "PrivateIp"]}, ":8080\\\n",
" --logtostderr=true\n",
" Restart=always\n",
" RestartSec=10\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started-guides/coreos/cloud-configs/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ coreos:
ExecStartPre=/usr/bin/wget -N -P /opt/bin https://storage.googleapis.com/kubernetes-release/release/v0.11.0/bin/linux/amd64/kube-proxy
ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-proxy
ExecStart=/opt/bin/kube-proxy \
--etcd_servers=http://<master-private-ip>:4001 \
--master=<master-private-ip>:8080 \
--logtostderr=true
Restart=always
RestartSec=10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ coreos:
ExecStartPre=/usr/bin/wget -N -P /opt/bin https://storage.googleapis.com/kubernetes-release/release/v0.11.0/bin/linux/amd64/kube-proxy
ExecStartPre=/usr/bin/chmod +x /opt/bin/kube-proxy
ExecStart=/opt/bin/kube-proxy \
--etcd_servers=http://127.0.0.1:4001 \
--master=<master-private-ip>:8080 \
--logtostderr=true
Restart=always
RestartSec=10
Expand Down

0 comments on commit 4805aec

Please sign in to comment.