Kubernetes can be an ultimate local development environment particularly if you are wrangling with a large number of microservices. In this post, we will cover how you can create a local development workflow using Minikube and tools such as Make to iterate fast without the wait imposed by your continuous integration pipeline. With this workflow, you can code and test changes immediately.
Traditionally, you can test your code changes by rebuilding the Docker images (either locally or via your continuous integration pipeline), then pushing the image to a Docker registry after the successful build, and then redeploy to your Kubernetes cluster.
Overall development workflow
Here is our simplified development workflow,
- Make changes in your code on your local laptop
- Build local Docker images and deploy them to Minikube
- Test your code changes after deploying into Minikube
- If changes are good, commit them to version control repository
- Your version control system triggers continuous integration pipeline
- Continuous integration builds Docker images and push it your registry
Read more at Abhishek Tiwari