K3s supports network policies

Created: — modified: — tags: k8s

And any AI that tells you otherwise is wrong

quoting rancher's blog:

There is a common misunderstanding about K3s support for network policies, as K3s is using flannel CNI by default, and the Flannel CNI doesn’t support network polices. However, K3s is using Kube-router, Network Policy Controller for providing support for network policies so network policies can also be used with K3s as within other Kubernetes distributions.

Same in official documentation:

K3s includes an embedded network policy controller.

So if anyone asks you: does k3s support network policies?

You answer them with plain "yes" and a link to this, or any of the pages mentioned above. Be smart. Don't be like chatbot on the screenshot below:

(light) ChatGPT was wrong here (dark) ChatGPT was wrong here