You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to predetermine the names of the pods, and where they show up.
(on what node). My node names are: deb-1, deb-2, deb-3, deb-4, deb-5.
I want a predictable structure. Yet the pods run on a different node with
each deployment.
After more testing, I now think that it is not possible. The MinIO operator creates a StatefulSet, which then creates the pods. This issue is actually about changing the default behavior of Kubernetes StatefulSets. I cannot achieve the desired alignment (0-1, 1-2, 2-3, 3-4, 4-5). Each time, it is different. I don't think Kubernetes can schedule the pods on the same node consistently (each time), at least not with affinity rules.
Problem description
I'm trying to predetermine the names of the pods, and where they show up.
(on what node). My node names are:
deb-1
,deb-2
,deb-3
,deb-4
,deb-5
.I want a predictable structure. Yet the pods run on a different node with
each deployment.
Actual:
Desired:
Managing the data becomes much easier if the pods (along with PVCs and PVs)
are scheduled on the same node each time you create the tenant.
Describe the solution you'd like
A nodeSelector template would be ideal:
Describe alternatives you've considered
I have consulted the following pages:
Additional context
I started with:
My tenant section looks like this:
The text was updated successfully, but these errors were encountered: