--https://share.google/aimode/cjBcIHfuVLDSZIzzp
To install the Calico CNI pod network plugin in a Kubernetes cluster on Ubuntu, download the Tigera Calico operator manifest and custom resources via kubectl. Ensure your control plane has a working kubectl connection and has been initialized with a matching pod CIDR network. [1, 2, 3, 4, 5]
Install Calico Operator
- Download the official Tigera operator manifest:
curl https://githubusercontent.com -O
Configure Custom Resources
- Download the custom resource definitions file:
curl https://raw.githubusercontent.com/projectcalico/calico/v3.32.1/manifests/custom-resources.yaml -O - Adjust the default IP block in
custom-resources.yamlif your cluster uses a custom pod CIDR different from192.168.0.0/16.
Verify Installation
- Watch the system pods come alive in the
calico-systemnamespace:watch kubectl get pods -n calico-system
If you tell me your Kubernetes installation method (like kubeadm, microk8s, or k3s) and your Pod CIDR range, I can give you more customized configuration steps.
No comments:
Post a Comment