Kube-scheduler is not scheduling pods due to client certificate not renewed automatically in OpenShift 4
Issue
- How to renew the
kube-scheduler
client certificate if it is not automatically rotated? -
What to do when pods remain in
Pending
status andkube-scheduler
log shows errors like:2020-09-17T14:50:42.508114153Z E0917 14:50:42.508028 1 reflector.go:153] k8s.io/kubernetes/cmd/kube-scheduler/app/server.go:246: Failed to list *v1.Pod: Unauthorized
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4.4.8+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.