-
Notifications
You must be signed in to change notification settings - Fork 4
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
Distribute BE instances (pods) evenly across available nodes #204
Comments
Required implementation is completed and available with PR #194 |
This is made available in PR #213 since previous PR got dropped. |
Tried with setting it to true and my EKS cluster has 4 nodes. As per definition of podAntiAffinity, no two pods can be on same node as per defined rule. Here it does not seem to be working for me as per my understanding. I will continue to debug more into it. |
@tsaxena18 this feature defines pods are evenly distributed across nodes. The above mentioned output of nodes is correct |
There are two types of node affinity, called requiredDuringSchedulingIgnoredDuringExecution and preferredDuringSchedulingIgnoredDuringExecution and they are like hard/soft rule as mentioned in https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/. Currently, I can see the latter, preferredDuringSchedulingIgnoredDuringExecution, is defined in our helm script and if I change it to other one, then install throws error so I assume we have to stick with this option only. [apps@tsaxena-z820 kubernetes]$ kubectl get pods -o wide Let me know if we need to create a ticket to support other type, i.e, requiredDuringSchedulingIgnoredDuringExecution. |
@tsaxena18 we are aware of this features wrt podAntiAffinity, we have requirement to distribute pods across nodes evenly. U can close this issue. I dont think it is required to create a new support ticket for other type |
Closing as per @tsaxena18 comments |
Context
Enable Kubernetes native
pod affinity
functionality through BE helm chart, so that the BE instances (pods) distribute evenly across available nodes (physical boxes).Alternatives
No
Has the feature been requested before?
No
If the feature request is approved, would you be willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: