We are getting an error when querying container logs kubectl logs <pod>
.
This is probably related to expired certs on the worker node itself.
When deleting a pod, it is correctly rescheduled on the problematic node.
How does scheduling work, while kubectl logs
fails? As far as I understand both requests go through the api-server
.
I suggest getting familiar with the whole scheduling process by going through the official docs:
The Kubernetes scheduler is a control plane process which assigns Pods to Nodes. The scheduler determines which Nodes are valid placements for each Pod in the scheduling queue according to constraints and available resources.
Both kube-apiserver and kube-scheduler are the control plane components:
I am no expert in Openshift but to better understand the authentication/authorization and certificates aspects of this platform I would read through these docs.