ksync 实际上实现了类似 docker docker run -v /foo:/bar 的功能,可以加速我们应用的开发&&运行
mac os
curl https://vapor-ware.github.io/gimme-that/gimme.sh | bash
ksync initksync watch &kubectl apply -f https://vapor-ware.github.io/ksync/example/app/app.yamlmkdir -p $(pwd)/ksync
ksync create --selector=app=app $(pwd)/ksync /code实现本地访问
kubectl get po --selector=app=app -o=custom-columns=:metadata.name --no-headers |     xargs -IPOD kubectl port-forward POD 8080:80 &  open ksync/server.pyksync get
https://github.com/vapor-ware/ksync
原文:https://www.cnblogs.com/rongfengliang/p/9502999.html