kubestellar / kubeflex

A flexible and scalable platform for running Kubernetes control plane APIs.
Apache License 2.0
46 stars 13 forks source link

bug: controller manager in control plane does not connect to API server #108

Closed pdettori closed 10 months ago

pdettori commented 10 months ago

Describe the bug

Noticed that the CM controllers, although enabled, were not working. Then looking at the logs of controller manager noticed that it does not connect to API server:

E1110 15:37:22.800246       1 leaderelection.go:327] error retrieving resource lock kube-system/kube-controller-manager: Get "https://cp1.cp1-system:9444/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=5s": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Steps To Reproduce

Look at CM logs in control plane ns.

Expected Behavior

CM should connect and controllers should be working.

Additional Context

No response