Skip to content

Commit

Permalink
Add missing Kubernetes proxy daemon to AWS CloudFormation template.
Browse files Browse the repository at this point in the history
  • Loading branch information
serialx committed Nov 14, 2014
1 parent f47f1da commit c91eec7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/getting-started-guides/aws/cloudformation-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,22 @@
" ExecStart=/opt/bin/scheduler --master=127.0.0.1:8080\n",
" Restart=always\n",
" RestartSec=10\n",
" - name: kube-proxy.service\n",
" command: start\n",
" content: |\n",
" [Unit]\n",
" Description=Kubernetes Proxy\n",
" Documentation=https://github.com/GoogleCloudPlatform/kubernetes\n",
" Requires=etcd.service\n",
" After=etcd.service\n\n",
" [Service]\n",
" ExecStartPre=/usr/bin/wget -N -P /opt/bin http://storage.googleapis.com/k8s/proxy\n",
" ExecStartPre=/usr/bin/chmod +x /opt/bin/proxy\n",
" ExecStart=/opt/bin/proxy \\\n",
" --etcd_servers=http://127.0.0.1:4001 \\\n",
" --logtostderr=true\n",
" Restart=always\n",
" RestartSec=10\n",
" - name: kube-register.service\n",
" command: start\n",
" content: |\n",
Expand Down Expand Up @@ -286,6 +302,22 @@
" --logtostderr=true\n",
" Restart=always\n",
" RestartSec=10\n",
" - name: kube-proxy.service\n",
" command: start\n",
" content: |\n",
" [Unit]\n",
" Description=Kubernetes Proxy\n",
" Documentation=https://github.com/GoogleCloudPlatform/kubernetes\n",
" Requires=setup-network-environment.service\n",
" After=setup-network-environment.service\n\n",
" [Service]\n",
" ExecStartPre=/usr/bin/wget -N -P /opt/bin http://storage.googleapis.com/k8s/proxy\n",
" ExecStartPre=/usr/bin/chmod +x /opt/bin/proxy\n",
" ExecStart=/opt/bin/proxy \\\n",
" --etcd_servers=http://", {"Fn::GetAtt" :["KubernetesMasterInstance" , "PrivateIp"]}, ":4001\\\n",
" --logtostderr=true\n",
" Restart=always\n",
" RestartSec=10\n",
" update:\n",
" group: alpha\n",
" reboot-strategy: off\n"
Expand Down

0 comments on commit c91eec7

Please sign in to comment.