- Install the Calico operator and cudtom resource definitions
Due to the large size of the CRD bundle,
kubectl apply
might exceed request limits. Instead, usekubectl create
orkubectl replace
.
- Install Calico by creating the necessary custom resource. For more information on configuration options available in this manifest, see the installation reference.
Before creating this manifest, read its contents and make sure its settings are correct for your environment. For example, you may need to change the default IP pool CIDR to match your pod network CIDR.
- Confirm that all of the pods are running with the following command.
Wait until each pod has the STATUS
of Running
.
The Tigera operator installs resources in the calico-system namespace. Other install methods may use the
kube-system
namespace instead.
- Remove the taints on the control plane so that you can schedule pods on it.
It should return the following.
Confirm that you now have a node in your cluster with the following command.
It should return something like the following.
You now have a single-host Kubernetes cluster with Calico!