mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #5204 from erictune/coreos_doc_tunnel
Doc how to ssh tunnel to master with Coreos+GCE
This commit is contained in:
commit
c4cdc51bd8
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user