Skip to content

Commit

Permalink
Doc how to ssh tunnel to master with Coreos+GCE
Browse files Browse the repository at this point in the history
  • Loading branch information
erictune committed Mar 9, 2015
1 parent d984852 commit 38435db
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 38435db

Please sign in to comment.