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-kube-controllers pod is in CrashLoopBackOff state
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- calico-kube-controllers pod is in CrashLoopBackOff state.
- The pod logs shows below error:
Javascript
2022-10-18 11:18:40.660 [INFO][1] main.go 92: Loaded configuration from environment config=&config.Config{LogLevel:"info", WorkloadEndpointWorkers:1, ProfileWorkers:1, PolicyWorkers:1, NodeWorkers:1, Kubeconfig:"", DatastoreType:"kubernetes"}W1018 11:18:40.665042 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.2022-10-18 11:18:40.665 [INFO][1] main.go 113: Ensuring Calico datastore is initialized2022-10-18 11:18:41.667 [ERROR][1] client.go 261: Error getting cluster information config ClusterInformation="default" error=Get "https://10.21.0.1:443/apis/crd.projectcalico.org/v1/clusterinformations/default": dial tcp 10.21.0.1:443: connect: connection refused2022-10-18 11:18:41.667 [FATAL][1] main.go 118: Failed to initialize Calico datastore error=Get "https://10.21.0.1:443/apis/crd.projectcalico.org/v1/clusterinformations/default": dial tcp 10.21.0.1:443: connect: connection refusedEnvironment
- Platform9 Managed Kubernetes - K8s v1.20.15
Cause
- The default route was misconfigured with wrong interface:
Javascript
xxxxxxxxxx# docker inspect 1c45574157a3ba | grep CALICO |grep CALICO_IPV4_DETECTION_METHODexport CALICO_IPV4_DETECTION_METHOD="interface=bond1.100" # ip route show |grep defaultdefault via 10.69.63.1 dev bond0.663Resolution
- Update the node's routing table for the interface which is being used by Calico.
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