Pods from a DaemonSet cannot be scheduled into any node in OpenShift
Issue
- The
Podsfrom aDaemonSetare inPendingstate. -
The message in the
Podsshows that1 node(s) didn''t have free ports for the requested pod ports, and other nodesdidn''t match Pod''s node affinity/selector:message: '0/22 nodes are available: 1 node(s) didn''t have free ports for the requested pod ports, 15 node(s) didn''t match Pod''s node affinity/selector, 3 node(s) had taint {node-role.kubernetes.io/infra: }, that the pod didn''t tolerate, 3 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn''t tolerate.' -
The
instana-agentPodsare inPendingstate with above message. Changing thehostPortused by theinstana-agentthePodsare able to start, but those ports can not be changed as per the Instana documentation and changing them don't show any information collected in the Instana SaaS website. -
The following message is shown in the
eventsof thenamespace:15m16s Warning FailedScheduling pod/[pod_name] 0/22 nodes are available: 1 node(s) didn't have free ports for the requested pod ports, 15 node(s) didn't match Pod's node affinity/selector, 3 node(s) had taint {node-role.kubernetes.io/infra: }, that the pod didn't tolerate, 3 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate
Environment
- Red Hat OpenShift Container Platform (RHOCP)
DaemonSet
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.