update docs

pull/4/head
Kelsey Hightower 2016-07-07 11:37:54 -07:00
parent dd8258143c
commit 5acba54058
1 changed files with 35 additions and 0 deletions

View File

@ -28,6 +28,8 @@ gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem worker2:~/
## Provision the Kubernetes Worker Nodes
The following instructions can be ran on each worker node without modification. Lets start with worker0. Don't forget to repeat these steps for worker1 and worker2.
### worker0
```
@ -202,3 +204,36 @@ sudo systemctl start kubelet
```
sudo systemctl status kubelet
```
#### kube-proxy
```
sudo sh -c 'echo "[Unit]
Description=Kubernetes Kube Proxy
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
[Service]
ExecStart=/usr/bin/kube-proxy \
--master=https://10.240.0.20:6443 \
--kubeconfig=/var/lib/kubelet/kubeconfig \
--proxy-mode=iptables \
--v=2
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target" > /etc/systemd/system/kube-proxy.service'
```
```
sudo systemctl daemon-reload
sudo systemctl enable kube-proxy
sudo systemctl start kube-proxy
```
```
sudo systemctl status kube-proxy
```