update docs

pull/4/head
Kelsey Hightower 2016-07-07 13:02:28 -07:00
parent 25b3dbe932
commit 6b2483b071
2 changed files with 31 additions and 3 deletions

28
docs/kubectl.md Normal file
View File

@ -0,0 +1,28 @@
# Configuring Kubectl
## OS X
```
gcloud compute copy-files \
controller0:~/kubernetes/platforms/darwin/amd64/kubectl .
```
## Linux
```
gcloud compute copy-files \
controller0:~/kubernetes/platforms/linux/amd64/kubectl .
```
```
sudo mv kubectl /usr/local/bin/
```
```
gcloud compute http-health-checks create basic-check
```
```
gcloud compute target-pools create kubernetes \
--region us-central1 --health-check basic-check
```

View File

@ -113,7 +113,7 @@ ExecStart=/usr/bin/kube-apiserver \
--bind-address=0.0.0.0 \ --bind-address=0.0.0.0 \
--enable-swagger-ui=true \ --enable-swagger-ui=true \
--etcd-cafile=/var/run/kubernetes/ca.pem \ --etcd-cafile=/var/run/kubernetes/ca.pem \
--insecure-bind-address=127.0.0.1 \ --insecure-bind-address=0.0.0.0 \
--kubelet-certificate-authority=/var/run/kubernetes/ca.pem \ --kubelet-certificate-authority=/var/run/kubernetes/ca.pem \
--etcd-servers=https://10.240.0.10:2379,https://10.240.0.11:2379,https://10.240.0.12:2379 \ --etcd-servers=https://10.240.0.10:2379,https://10.240.0.11:2379,https://10.240.0.12:2379 \
--service-account-key-file=/var/run/kubernetes/kubernetes-key.pem \ --service-account-key-file=/var/run/kubernetes/kubernetes-key.pem \
@ -299,7 +299,7 @@ ExecStart=/usr/bin/kube-apiserver \
--bind-address=0.0.0.0 \ --bind-address=0.0.0.0 \
--enable-swagger-ui=true \ --enable-swagger-ui=true \
--etcd-cafile=/var/run/kubernetes/ca.pem \ --etcd-cafile=/var/run/kubernetes/ca.pem \
--insecure-bind-address=127.0.0.1 \ --insecure-bind-address=0.0.0.0 \
--kubelet-certificate-authority=/var/run/kubernetes/ca.pem \ --kubelet-certificate-authority=/var/run/kubernetes/ca.pem \
--etcd-servers=https://10.240.0.10:2379,https://10.240.0.11:2379,https://10.240.0.12:2379 \ --etcd-servers=https://10.240.0.10:2379,https://10.240.0.11:2379,https://10.240.0.12:2379 \
--service-account-key-file=/var/run/kubernetes/kubernetes-key.pem \ --service-account-key-file=/var/run/kubernetes/kubernetes-key.pem \
@ -483,7 +483,7 @@ ExecStart=/usr/bin/kube-apiserver \
--bind-address=0.0.0.0 \ --bind-address=0.0.0.0 \
--enable-swagger-ui=true \ --enable-swagger-ui=true \
--etcd-cafile=/var/run/kubernetes/ca.pem \ --etcd-cafile=/var/run/kubernetes/ca.pem \
--insecure-bind-address=127.0.0.1 \ --insecure-bind-address=0.0.0.0 \
--kubelet-certificate-authority=/var/run/kubernetes/ca.pem \ --kubelet-certificate-authority=/var/run/kubernetes/ca.pem \
--etcd-servers=https://10.240.0.10:2379,https://10.240.0.11:2379,https://10.240.0.12:2379 \ --etcd-servers=https://10.240.0.10:2379,https://10.240.0.11:2379,https://10.240.0.12:2379 \
--service-account-key-file=/var/run/kubernetes/kubernetes-key.pem \ --service-account-key-file=/var/run/kubernetes/kubernetes-key.pem \