mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
KUBERNETES_MASTER needs to include scheme for cluster/* scripts to work
This commit is contained in:
parent
08ee6e912d
commit
82a72c805d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user