Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svclb pods state is pending #41

Open
majjihari opened this issue Sep 29, 2022 · 1 comment
Open

svclb pods state is pending #41

majjihari opened this issue Sep 29, 2022 · 1 comment

Comments

@majjihari
Copy link

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

@infroger
Copy link

infroger commented Oct 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants