Calico CNI via Tigera Operator for Kubernetes. Use for IPPools, NetworkPolicy/GlobalNetworkPolicy, BGP peering, FelixConfiguration/BPF, K3s/RKE2/Rancher, airgap, or pod networking troubleshooting.
Ships in calico. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Kubernetes CNI and network policy engine deployed via Tigera Operator. Provides pod networking (VXLAN, IPIP, or native BGP), network policy enforcement, and optional BPF dataplane.
Tigera Operator (manages lifecycle)
├── calico-node (DaemonSet) - BGP, routing, Felix agent
├── calico-typha (Deployment) - fan-out datastore cache
├── calico-kube-controllers - sync K8s resources to Calico
├── calico-apiserver - Calico API extension
└── CRDs - IPPool, NetworkPolicy, BGP*, Felix*, etc.
helm repo add projectcalico https://docs.tigera.io/calico/charts
helm install calico projectcalico/tigera-operator --version v3.29.3 \
--namespace tigera-operator --create-namespace -f values.yaml
tigera-operator:
installation:
calicoNetwork:
ipPools:
- cidr: 10.42.0.0/16
encapsulation: VXLAN
natOutgoing: true
nodeSelector: all()
For K3s/Rancher integration (enable/disable, airgap, HA), see references/frameworks/k3s.md.
# 1. Check compatibility matrix: https://docs.tigera.io/calico/latest/getting-started/kubernetes/requirements
# 2. Update chart
helm repo update
helm upgrade calico projectcalico/tigera-operator --version v3.29.3 \
--namespace tigera-operator -f values.yaml
# 3. Monitor rollout
kubectl rollout status daemonset/calico-node -n calico-system
kubectl get tigerastatus
| Mode | Field | Use Case |
|---|---|---|
| VXLAN | encapsulation: VXLAN | Default, works across L3 networks |
| VXLANCrossSubnet | encapsulation: VXLANCrossSubnet | VXLAN only for cross-subnet |
| IPIP | encapsulation: IPIP | Legacy, tunnel-based |
| IPIPCrossSubnet | encapsulation: IPIPCrossSubnet | IPIP only for cross-subnet |
| None | encapsulation: None | Native routing / BGP peering required |
For IP pool management (multiple pools, node-specific pools, migration), see references/ip-pools.md.
Calico extends Kubernetes NetworkPolicy with richer selectors and global scope:
| Resource | Scope | Key Features |
|---|---|---|
NetworkPolicy | Namespaced | L3-L7 rules, DNS policy, service accounts |
GlobalNetworkPolicy | Cluster-wide | Host endpoint protection, ordered evaluation |
apiVersion: projectcalico.org/v3
kind: NetworkPolicy
metadata:
name: allow-web
namespace: default
spec:
selector: app == 'web'
ingress:
- action: Allow
source:
selector: app == 'frontend'
destination:
ports: [80, 443]
egress:
- action: Allow
For policy patterns (deny-all, DNS allow, egress control, host endpoints), see references/network-policy.md.
For environments using native routing instead of overlay:
apiVersion: projectcalico.org/v3
kind: BGPConfiguration
metadata:
name: default
spec:
asNumber: 64512
nodeToNodeMeshEnabled: true
listenPort: 179
For BGP peering (external peers, route reflectors, communities, BGPFilter), see references/bgp.md.
Felix is the per-node agent handling policy enforcement and routing:
apiVersion: projectcalico.org/v3
kind: FelixConfiguration
metadata:
name: default
spec:
bpfEnabled: false # true for BPF dataplane
logSeverityScreen: Info # Debug, Info, Warning, Error, Fatal
ipipEnabled: true
vxlanEnabled: true
For advanced Felix tuning (BPF dataplane, flow logs, connection tracking, MTU, wireguard), see references/felix.md.
First commands:
kubectl get tigerastatus # overall health
kubectl get pods -n calico-system # component status
kubectl get ippool -o yaml # pool config
calicoctl node status # BGP peering state
For debugging workflows (node NotReady, cross-node failures, DNS issues, VXLAN/IPIP problems), see references/troubleshooting.md.
| Symptom | Likely Cause | Reference |
|---|---|---|
| Node stuck NotReady | Calico-node crashloop, IPPool misconfigured | troubleshooting.md |
| Pods can't reach other nodes | VXLAN/IPIP port blocked (UDP 4789/IP proto 4) | troubleshooting.md |
| DNS resolution fails | NetworkPolicy blocking CoreDNS egress | network-policy.md |
| BGP session down | Wrong AS number, firewall blocking TCP 179 | bgp.md |
| High CPU on calico-node | Felix log level Debug, excessive policies | felix.md |
| "Failed to discover tenancy mode" | CRDs not applied before operator start (v3.28.3+) | troubleshooting.md |
references/ip-pools.md - IP pool management, multiple pools, migrationreferences/network-policy.md - Policy patterns, deny-all, DNS, host endpointsreferences/bgp.md - BGP peering, route reflectors, communities, filtersreferences/felix.md - Felix tuning, BPF dataplane, flow logs, wireguardreferences/troubleshooting.md - Debugging pod networking, node issuesreferences/frameworks/k3s.md - K3s/Rancher: enable, disable, airgap, HAconfig.yaml (opens in a new tab)references/bgp.md (opens in a new tab)references/felix.md (opens in a new tab)references/frameworks/k3s.md (opens in a new tab)references/ip-pools.md (opens in a new tab)references/network-policy.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/calico:calicofrom calico
npx claudepluginhub kettleofketchup/kettleofskills --plugin calico