ksync

Using ksync with Jenkins X

You can use ksync to synchronise your local source code with a running pod which you can then use to perform incremental builds inside kubernetes.

kubectl run -ti --image maven maven-build-pod bash
ksync create -n jx --pod maven-build-pod $(pwd) /
ksync watch

# then in your build pod run `mvn clean install` or `mvn spring-boot:run` or whatever

Last modified March 15, 2021: fix: add inner loop docs (4c4769b07b)