I'm currently using Minikube to run a 3-node Kubernetes cluster on my laptop, where I've deployed services like Cassandra, Kafka, MySQL, PostgreSQL, and Redis with a replication factor of 3. However, I'm experiencing some lag and consistency issues, and I'm not sure whether it's due to my laptop hardware, the Minikube setup over Docker, or something else. I'm looking for a faster and more reliable alternative that can handle a 3-node Kubernetes cluster for my applications, especially for development and testing purposes. I initially chose Minikube with Docker because it was one of the few options available at the time, but now I'm interested in finding a lighter or quicker alternative that can help improve my experience. Additionally, I stick to using NodePort for ease of development with my Node.js and Flutter apps. Any suggestions would be greatly appreciated!
1 Answer
You might want to give KinD (Kubernetes in Docker) a try. It's lightweight and designed for local development, plus it can handle multi-node setups quite well. You can also consider using MetalLB with LoadBalancer instead of NodePort, which could improve your networking setup too.

Can I really have a 3-node cluster using KinD? And how should I set it up on Docker?