Calico Node Pods in CrashLoopBackOff: "Unable to get Typha service endpoints from Kubernetes"

Problem

  • The calico-node pod(s) are in CrashLoopBackOff state and/or constantly restarting.
Bash
Copy
  • The pod log (via kubectl logs) for the calico-node pod(s) shows the following error related to calico-typha .
Bash
Copy
  • Similarly, the following error is recorded in the calico-typha pod(s).
Bash
Copy
  • No calico-typha service (separate from the DaemonSet and Deployment objects) exists in the kube-system namespace.

Environment

  • Platform9 Managed Kubernetes – v5.5
  • Calico

Cause

The calico-typha service is missing from the kube-system namespace.

Resolution

  1. Create a file calico-typha.yaml with the following content.
Bash
Copy
  1. Apply the YAML to the affected cluster.
Bash
Copy

Additional Information

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard