mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #35532 from ivan4th/fix-remote-build-instructions
Automatic merge from submit-queue
Fix remote build instructions
You actually need to forward ${KUBE_RSYNC_PORT} from the remote machine, see
e3067f326f/build-tools/common.sh (L618)
This commit is contained in:
commit
8587604e64
@ -82,10 +82,10 @@ docker-machine create \
|
|||||||
eval $(docker-machine env ${KUBE_BUILD_VM})
|
eval $(docker-machine env ${KUBE_BUILD_VM})
|
||||||
|
|
||||||
# Pin down the port that rsync will be exposed on on the remote machine
|
# Pin down the port that rsync will be exposed on on the remote machine
|
||||||
export KUBE_RSYNC_PORT=8370
|
export KUBE_RSYNC_PORT=8730
|
||||||
|
|
||||||
# forward local 8730 to that machine so that rsync works
|
# forward local 8730 to that machine so that rsync works
|
||||||
docker-machine ssh ${KUBE_BUILD_VM} -L ${KUBE_RSYNC_PORT}:localhost:8730 -N &
|
docker-machine ssh ${KUBE_BUILD_VM} -L ${KUBE_RSYNC_PORT}:localhost:${KUBE_RSYNC_PORT} -N &
|
||||||
```
|
```
|
||||||
|
|
||||||
Look at `docker-machine stop`, `docker-machine start` and `docker-machine rm` to manage this VM.
|
Look at `docker-machine stop`, `docker-machine start` and `docker-machine rm` to manage this VM.
|
||||||
|
Loading…
Reference in New Issue
Block a user