Default CNI in Minikube
Asked Answered
P

2

5

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?

Pietro answered 5/8, 2019 at 13:22 Comment(0)
T
7

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.

Tristram answered 6/8, 2019 at 8:12 Comment(3)
Could you please add a link where you found this info? I did not see it in the docs.Pietro
can someone add the link where this is explicity mentioned, i didnt seem to find it anywhere -Perchloride
I think this Link can help you.Cynewulf
F
2

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/

Ferret answered 4/6 at 6:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.