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.
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:
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