Skip to main content

Problem starting calico-kube-controllers


Problem starting calico-kube-controllers

[karl1@element ~]$ kubectl logs -n kube-system calico-kube-controllers-f7868dd95-swpst 
2022-05-09 15:18:10.856 [INFO][1] main.go 88: Loaded configuration from environment config=&config.Config{LogLevel:"info", ReconcilerPeriod:"5m", CompactionPeriod:"10m", EnabledControllers:"node", WorkloadEndpointWorkers:1, ProfileWorkers:1, PolicyWorkers:1, NodeWorkers:1, Kubeconfig:"", HealthEnabled:true, SyncNodeLabels:true, DatastoreType:"kubernetes"}
W0509 15:18:10.857670       1 client_config.go:541] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
2022-05-09 15:18:10.858 [INFO][1] main.go 109: Ensuring Calico datastore is initialized
2022-05-09 15:18:20.859 [ERROR][1] client.go 255: Error getting cluster information config ClusterInformation="default" error=Get context deadline exceeded
2022-05-09 15:18:20.859 [FATAL][1] main.go 114: Failed to initialize Calico datastore error=Get context deadline exceeded
[karl1@element ~]$ sudo vi /etc/modules-load.d/snap.microk8s.conf 


What function, process, products, platforms, etc. does the customer have an issue with?

Formatting: Use bullet points for every line in this section.


What is the answer to the issue or the steps required to resolve the issue?

Formatting: This can be free form.

Root Cause

What is the root cause for the issue?

Formatting: This can be free form.