Merge pull request #5204 from erictune/coreos_doc_tunnel

Doc how to ssh tunnel to master with Coreos+GCE
This commit is contained in:
Alex Mohr 2015-03-10 10:10:53 -07:00
commit c4cdc51bd8
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.