Kubectl Warp
- Dev UX
- 2.1K
Warp is a kubectl plugin that allows you to execute your local code directly in Kubernetes without slow image build process. It’s MIT licensed and available at GitHub.
How it works:
The kubectl warp command runs your command inside a container, the same way as kubectl run does, but before executing the command, it synchronizes all your files into the container.
For example, to run and live reload NodeJS project in Kubernetes, you can
1 |
$ kubectl warp -i -t --image node -- npm run watch |
kubectl warp is basically just combination of, simplified and modified version of kubectl run, sshd-rsync container and kubectl port-forward to access the container.
Tell us about a new Kubernetes application
Never miss a thing! Sign up for our newsletter to stay updated.
Discover and learn about everything Kubernetes