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
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
As of today affinity and anti-affinity specification are very explicit, and lengthy to specify.
Node Affinity Examples:
https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/algorithm/priorities/node_affinity_test.go
Inter-Pod Affinity Examples:
https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/scheduler/algorithm/priorities/interpod_affinity_test.go
imo ~90% users can typically understand affinity in terms of "groupby" and "spreadby".
groupby (type(pod,node), key=value)
There is more to this, but hopefully the gist is there.
The text was updated successfully, but these errors were encountered: