Reputation: 1078
I try to understand the Kubernetes network and I am now wondering if a CNI is used per default when installing Minikube and when yes which one?
In other words, can I run Minikube without a CNI provider like Flannel or Calico?
Upvotes: 5
Views: 10001
Reputation: 1463
As of 2024, minikube is using kindnet by default.
A vanilla minikube installation (
minikube start
) does not support any NetworkPolicies, since the default CNI, Kindnet, does not support Network Policies, by design.
https://minikube.sigs.k8s.io/docs/handbook/network_policy/
Upvotes: 2
Reputation: 1197
By default Minikube runs on Docker default bridge-network, so the answer should be yes. You have to separately install other CNI providers, like Flannel.
For specific networking requirements, Minikube docs could be checked out.
Upvotes: 7