Doc how to ssh tunnel to master with Coreos+GCE

This commit is contained in:
Eric Tune 2015-03-09 15:06:02 -07:00
parent d98485242e
commit 38435db95c
2 changed files with 11 additions and 0 deletions

View File

@ -93,6 +93,12 @@ gcloud compute instances create node1 \
--metadata-from-file user-data=node.yaml
```
#### Establish network connectivity
Next, setup an ssh tunnel to the master so you can run kubectl from your local host.
In one terminal, run `gcloud compute ssh master --ssh-flag="-L 8080:127.0.0.1:8080"` and in a second
run `gcloud compute ssh master --ssh-flag="-R 8080:127.0.0.1:8080".
### VMware Fusion
#### Create the master config-drive

View File

@ -38,6 +38,11 @@ gcloud compute instances create standalone \
--metadata-from-file user-data=standalone.yaml
```
Next, setup an ssh tunnel to the master so you can run kubectl from your local host.
In one terminal, run `gcloud compute ssh master --ssh-flag="-L 8080:127.0.0.1:8080"` and in a second
run `gcloud compute ssh master --ssh-flag="-R 8080:127.0.0.1:8080".
### VMware Fusion
Create a [config-drive](https://coreos.com/docs/cluster-management/setup/cloudinit-config-drive) ISO.