klipper-lb icon indicating copy to clipboard operation
klipper-lb copied to clipboard

svclb pods state is pending

Open majjihari opened this issue 2 years ago • 1 comments

default Traefik deployed in k3os. svclb pods are expecting to be running in all the machines. But pods are not scheduled with below error: Warning FailedScheduling 20m default-scheduler 0/15 nodes are available: 1 node(s) didn't have free ports for the requested pod ports, 1 node(s) had taint {sonarqube: true}, that the pod didn't tolerate, 13 node(s) didn't match Pod's node affinity/selector.

*The reason for this node affinity clearly. Somehow I don't understand how metadata.name matches node name in affinity. What is going wrong here pls?

affinity-issue

majjihari avatar Sep 29 '22 16:09 majjihari

According to the manual, node affinity is done with node labels. https://docs.k3s.io/networking#controlling-servicelb-node-selection

infroger avatar Oct 04 '23 19:10 infroger