Thursday, August 13, 2026

How to install kubernetes pod plugin calico in ubuntu

--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
  • Install the operator onto your cluster:
    kubectl create -f tigera-operator.yaml
    [1, 2]
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.yaml if your cluster uses a custom pod CIDR different from 192.168.0.0/16.
  • Apply the resource manifest to start Calico:
    kubectl create -f custom-resources.yaml
    [1, 2, 3, 4, 5]
Verify Installation
  • Watch the system pods come alive in the calico-system namespace:
    watch kubectl get pods -n calico-system
  • Check that all cluster nodes shift status to Ready:
    kubectl get nodes
    [1, 2]
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: