Commit 82a72c80 authored by Chia-liang Kao's avatar Chia-liang Kao

KUBERNETES_MASTER needs to include scheme for cluster/* scripts to work

parent 08ee6e91
...@@ -13,13 +13,13 @@ rest of a local-only kubernetes cluster. ...@@ -13,13 +13,13 @@ rest of a local-only kubernetes cluster.
boot2docker up boot2docker up
$(boot2docker shellinit) $(boot2docker shellinit)
export DOCKER_HOST_IP=$(boot2docker ip 2>/dev/null) export DOCKER_HOST_IP=$(boot2docker ip 2>/dev/null)
export KUBERNETES_MASTER=$DOCKER_HOST_IP:8080 export KUBERNETES_MASTER=http://$DOCKER_HOST_IP:8080
``` ```
#### With local docker daemon #### With local docker daemon
``` ```
export DOCKER_HOST_IP=127.0.0.1 export DOCKER_HOST_IP=127.0.0.1
export KUBERNETES_MASTER=$DOCKER_HOST_IP:8080 export KUBERNETES_MASTER=http://$DOCKER_HOST_IP:8080
``` ```
### Build the kubernetes docker images ### Build the kubernetes docker images
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment