Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Calico Node Pods in CrashLoopBackOff: "Unable to get Typha service endpoints from Kubernetes"
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- The
calico-nodepod(s) are inCrashLoopBackOffstate and/or constantly restarting.
Bash
xxxxxxxxxxNAME READY STATUS RESTARTS AGEcalico-kube-controllers-f6b98779-qfmhh 1/1 Running 1 101dcalico-node-69nk4 0/1 CrashLoopBackOff 131 7h37mcalico-node-g7pz7 0/1 CrashLoopBackOff 131 7h37mcalico-node-mngnc 0/1 Running 130 7h37mcalico-node-p4ktd 0/1 CrashLoopBackOff 129 7h37mcalico-node-wlv9t 0/1 CrashLoopBackOff 130 7h37mcalico-node-zl5ng 0/1 CrashLoopBackOff 129 7h37mcalico-typha-95b7898f5-g559h 1/1 Running 0 8hcalico-typha-95b7898f5-lmxbw 1/1 Running 0 8hcalico-typha-95b7898f5-zmn2x 1/1 Running 0 8h- The pod log (via
kubectl logs) for thecalico-nodepod(s) shows the following error related tocalico-typha.
Bash
[ERROR][68] confd/discovery.go 126: Unable to get Typha service endpoints from Kubernetes. error=endpoints "calico-typha" not found- Similarly, the following error is recorded in the
calico-typhapod(s).
Bash
xxxxxxxxxx[ERROR][7] lookup.go 65: Failed to get Typha endpoint from Kubernetes error=endpoints "calico-typha" not found[WARNING][7] rebalance.go 55: Failed to get number of Typhas error=<nil> numTyphas=0 thread="k8s-poll"- No
calico-typhaservice (separate from theDaemonSetandDeploymentobjects) exists in thekube-systemnamespace.
Environment
- Platform9 Managed Kubernetes – v5.5
- Calico
Cause
The calico-typha service is missing from the kube-system namespace.
Resolution
- Create a file
calico-typha.yamlwith the following content.
Bash
xxxxxxxxxx# Source: calico/templates/calico-typha.yaml# This manifest creates a Service, which will be backed by Calico's Typha daemon.# Typha sits in between Felix and the API server, reducing Calico's load on the API server. apiVersion: v1kind: Servicemetadata: name: calico-typha namespace: kube-system labels: k8s-app: calico-typhaspec: ports: - port: 5473 protocol: TCP targetPort: calico-typha name: calico-typha selector: k8s-app: calico-typha- Apply the YAML to the affected cluster.
Bash
xxxxxxxxxxkubectl apply -f calico-typha.yamlAdditional Information
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message