Kubernetes is a tool for orchestrating containers. This is not a development platform. It is designed to facilitate the deployment of hundreds of containers and solve lifecycle / network / storage problems.
If you are developing your application, you really do not need the kubernets / minicubs at the moment. My suggested workflow:
- Develop your application in a local docker container. Go until you are happy.
- Create a snapshot release, tag the docker image and click it on the repo
- Then expand it.
- When you need to update, apply a new tag.
The advantage of using Docker is that it will be deployed in exactly the same way on your local laptop, as well as in the k8s production cluster, so as soon as you reach the stage when you are ready to tag / click images, you can be sure that the deployment process will be the same.
Minikube is not intended for local development, but for people to test the kubernets at the local level, and perhaps to develop kubernets on their own, it was not designed as a roving alternative.
source share