update to Kubernetes 1.6
parent
f62e9c9777
commit
c01f16bc3e
|
@ -7,7 +7,7 @@ Run the following commands from the machine which will be your Kubernetes Client
|
|||
### OS X
|
||||
|
||||
```
|
||||
wget https://storage.googleapis.com/kubernetes-release/release/v1.6.0-beta.4/bin/darwin/amd64/kubectl
|
||||
wget https://storage.googleapis.com/kubernetes-release/release/v1.6.0-rc.1/bin/darwin/amd64/kubectl
|
||||
chmod +x kubectl
|
||||
sudo mv kubectl /usr/local/bin
|
||||
```
|
||||
|
@ -15,7 +15,7 @@ sudo mv kubectl /usr/local/bin
|
|||
### Linux
|
||||
|
||||
```
|
||||
wget https://storage.googleapis.com/kubernetes-release/release/v1.6.0-beta.4/bin/linux/amd64/kubectl
|
||||
wget https://storage.googleapis.com/kubernetes-release/release/v1.6.0-rc.1/bin/linux/amd64/kubectl
|
||||
chmod +x kubectl
|
||||
sudo mv kubectl /usr/local/bin
|
||||
```
|
||||
|
@ -27,7 +27,8 @@ In this section you will configure the kubectl client to point to the [Kubernete
|
|||
### GCE
|
||||
|
||||
```
|
||||
KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes \
|
||||
KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes-the-hard-way \
|
||||
--region us-central1 \
|
||||
--format 'value(address)')
|
||||
```
|
||||
|
||||
|
@ -60,13 +61,13 @@ kubectl config set-credentials admin \
|
|||
```
|
||||
|
||||
```
|
||||
kubectl config set-context default \
|
||||
kubectl config set-context kubernetes-the-hard-way \
|
||||
--cluster=kubernetes-the-hard-way \
|
||||
--user=admin
|
||||
```
|
||||
|
||||
```
|
||||
kubectl config use-context default
|
||||
kubectl config use-context kubernetes-the-hard-way
|
||||
```
|
||||
|
||||
At this point you should be able to connect securly to the remote API server:
|
||||
|
@ -74,6 +75,7 @@ At this point you should be able to connect securly to the remote API server:
|
|||
```
|
||||
kubectl get componentstatuses
|
||||
```
|
||||
|
||||
```
|
||||
NAME STATUS MESSAGE ERROR
|
||||
controller-manager Healthy ok
|
||||
|
@ -87,9 +89,10 @@ etcd-1 Healthy {"health": "true"}
|
|||
```
|
||||
kubectl get nodes
|
||||
```
|
||||
|
||||
```
|
||||
NAME STATUS AGE VERSION
|
||||
worker0 Ready 7m v1.6.0-beta.4
|
||||
worker1 Ready 5m v1.6.0-beta.4
|
||||
worker2 Ready 2m v1.6.0-beta.4
|
||||
worker0 Ready 7m v1.6.0-rc.1
|
||||
worker1 Ready 5m v1.6.0-rc.1
|
||||
worker2 Ready 2m v1.6.0-rc.1
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue