Calico controller CrashLoopBackOff

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 “”: context deadline exceeded
2023-07-29 20:41:43.460 [FATAL][1] main.go 124: Failed to initialize Calico datastore error=Get “”: context deadline exceeded”

all pods including calico nodes are running fine

Thanks & Regards