From 94753fbe4d6655675e3bfdbb5383f928ee5c871f Mon Sep 17 00:00:00 2001 From: Robert Bailey Date: Wed, 7 Oct 2015 23:51:35 -0700 Subject: [PATCH] Update the docker single node getting started guide to use the 1.0.6 release. --- docs/getting-started-guides/docker.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/getting-started-guides/docker.md b/docs/getting-started-guides/docker.md index 91852265386..844160bc36c 100644 --- a/docs/getting-started-guides/docker.md +++ b/docs/getting-started-guides/docker.md @@ -102,7 +102,7 @@ docker run \ --net=host \ --privileged=true \ -d \ - gcr.io/google_containers/hyperkube:v1.0.1 \ + gcr.io/google_containers/hyperkube:v1.0.6 \ /hyperkube kubelet --containerized --hostname-override="127.0.0.1" --address="0.0.0.0" --api-servers=http://localhost:8080 --config=/etc/kubernetes/manifests ``` @@ -111,7 +111,7 @@ This actually runs the kubelet, which in turn runs a [pod](../user-guide/pods.md ### Step Three: Run the service proxy ```sh -docker run -d --net=host --privileged gcr.io/google_containers/hyperkube:v1.0.1 /hyperkube proxy --master=http://127.0.0.1:8080 --v=2 +docker run -d --net=host --privileged gcr.io/google_containers/hyperkube:v1.0.6 /hyperkube proxy --master=http://127.0.0.1:8080 --v=2 ``` ### Test it out @@ -137,8 +137,8 @@ kubectl get nodes This should print: ```console -NAME LABELS STATUS -127.0.0.1 Ready +NAME LABELS STATUS +127.0.0.1 kubernetes.io/hostname=127.0.0.1 Ready ``` If you are running different Kubernetes clusters, you may need to specify `-s http://localhost:8080` to select the local cluster. @@ -160,11 +160,11 @@ kubectl expose rc nginx --port=80 This should print: ```console -NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE -nginx 10.0.93.211 80/TCP run=nginx 1h +NAME LABELS SELECTOR IP(S) PORT(S) +nginx run=nginx run=nginx 80/TCP ``` -If `CLUSTER_IP` is blank run the following command to obtain it. Know issue [#10836](https://github.com/kubernetes/kubernetes/issues/10836) +If `IP(S)` is blank run the following command to obtain it. Know issue [#10836](https://github.com/kubernetes/kubernetes/issues/10836) ```sh kubectl get svc nginx