all cluster-agent pods are scheduled on same node #45422
Labels
kind/bug
Issues that are defects reported by users or that we know have reached a real release
priority/2
team/hostbusters
The team that is responsible for provisioning/managing downstream clusters + K8s version support
Milestone
On a freshly baked downstream cluster with 3 nodes, I see that all cluster-agent pods are scheduled on the same node. I created multiple clusters to verify this behaviour.
The issue seems to be with the following line which
prefers
pods to not be in the same node, but schedules likely schedules the pods too quick as soon as the first node is up, this can also be (repeatedly) confirmed by the node which came up firstchanging this to
required
should fix itrancher/pkg/settings/affinity.go
Line 83 in 4964f37
The text was updated successfully, but these errors were encountered: