# Calico controller CrashLoopBackOff

**URL:** <https://discuss.kubernetes.io/t/calico-controller-crashloopbackoff/24950>\
**Category:** General Discussions\
**Created:** [July 29, 2023, 9:04pm UTC](https://discuss.kubernetes.io/t/calico-controller-crashloopbackoff/24950 "2023-07-29T21:04:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![syedhamzaakhter](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/syedhamzaakhter/32/12982_2.png) [@syedhamzaakhter](https://discuss.kubernetes.io/u/syedhamzaakhter)\
**Post date:** [July 29, 2023, 9:04pm UTC](https://discuss.kubernetes.io/t/calico-controller-crashloopbackoff/24950/1 "2023-07-29T21:04:50Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you!

### Cluster information:

Kubernetes version: 1.22.12  
Cloud being used: (put bare-metal if not on a public cloud)  
Installation method: Kubekey  
Host OS: Ubuntu Ubuntu 22.04.2  
CNI and version: Calico 3.0.2  
CRI and version:

I am getting error while configuring calico controller vi kubesphere kubekey tool, below is the error

“2023-07-29 20:41:33.458 [INFO][1] main.go 98: Loaded configuration from environment config=&config.Config{LogLevel:“info”, WorkloadEndpointWorkers:1, ProfileWorkers:1, PolicyWorkers:1, NodeWorkers:1, Kubeconfig:”“, DatastoreType:“kubernetes”}  
W0729 20:41:33.459145 1 client\_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.  
2023-07-29 20:41:33.460 [INFO][1] main.go 119: Ensuring Calico datastore is initialized  
2023-07-29 20:41:43.460 [ERROR][1] client.go 272: Error getting cluster information config ClusterInformation=“default” error=Get “[https://10.233.0.1:443/apis/crd.projectcalico.org/v1/clusterinformations/default](https://forum.linuxfoundation.org/home/leaving?allowTrusted=1&target=https%3A%2F%2F10.233.0.1%3A443%2Fapis%2Fcrd.projectcalico.org%2Fv1%2Fclusterinformations%2Fdefault)”: context deadline exceeded  
2023-07-29 20:41:43.460 [FATAL][1] main.go 124: Failed to initialize Calico datastore error=Get “[https://10.233.0.1:443/apis/crd.projectcalico.org/v1/clusterinformations/default](https://forum.linuxfoundation.org/home/leaving?allowTrusted=1&target=https%3A%2F%2F10.233.0.1%3A443%2Fapis%2Fcrd.projectcalico.org%2Fv1%2Fclusterinformations%2Fdefault)”: context deadline exceeded”

all pods including calico nodes are running fine

Thanks & Regards  
Hamza
