Skip to content

Commit

Permalink
Merge pull request kubernetes#5204 from erictune/coreos_doc_tunnel
Browse files Browse the repository at this point in the history
Doc how to ssh tunnel to master with Coreos+GCE
  • Loading branch information
alex-mohr committed Mar 10, 2015
2 parents 420b6cd + 38435db commit c4cdc51
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c4cdc51

Please sign in to comment.