I’m trying to install calico locally (for development/testing) on Kubernetes with docker-desktop (Windows with WSL2). I want to install it to test network policies.
I’m following the following quickstart guide: https://projectcalico.docs.tigera.io/getting-started/kubernetes/quickstart
I don’t see any pods in the calico-system namespace (Step 3 in the "Install Calico" section), nor do I see any calico pods in any namespace. I’d appreciate any help.
2
Answers
Dockerdesktop ist not suitable for your tutorial.
To use kubeadmin, you need a linux machine. While Kubernetes on Docker-Desktop is already intalled.
I would try using Multipass, which you can use also on Windows.
https://multipass.run/docs/installing-on-windows
Then start an instance:
Inside install your cluster as described in the tutorial.
You have to look which ipaddress is assigned to your multipass instance.
If your local network starts with 192.x.x.x then use
Calico for Windows is a hybrid implementation that requires Windows nodes for Windows workloads and a Linux cluster for Calico components and Linux workloads.
And you are following the quickstart which will get you a single-host Kubernetes cluster with Calico, it will be different from the calico for windows.
For calico for windows follow this guide, Before you begin check requirements.