-
Notifications
You must be signed in to change notification settings - Fork 819
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
Packed: PreferredDuringSchedulingIgnoredDuringExecution PodAffinity with a HostName topology #397
Packed: PreferredDuringSchedulingIgnoredDuringExecution PodAffinity with a HostName topology #397
Conversation
Build Succeeded 👏 Build Id: 0ba88cae-388c-4d15-b6d5-56720f87e006 The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a small typo
docs/scheduling_autoscaling.md
Outdated
#### Pod Scheduling Strategy | ||
|
||
Under the "Packed" strategy, Pods will be scheduled using the [`PodAffinity`](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#inter-pod-affinity-and-anti-affinity-beta-feature) | ||
with a `preferredDuringSchedulingIgnoredDuringExecution` afiinity with [hostname](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#interlude-built-in-node-labels) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afiinity
…inity with a HostName topology. This does a pretty decent job of grouping together GameServer Pods. It does tend to distribute more widely when large groups of GameServer Pods get created, but it's worth experimenting with the first, before going the more risky route of a custom scheduler (in which we've already found some issues). We may also find as GameServers shut down at the end of sessions, they start to group together when they reschedule, as at lower load, the scheduler tends to do a better job of packing. Working towards googleforgames#368
75ae5e6
to
ff25359
Compare
Build Succeeded 👏 Build Id: 6a82eb9b-26c3-4652-ab0f-436204a3b0a1 The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
This does a pretty decent job of grouping together GameServer Pods. It does tend to distribute more widely when large groups of GameServer Pods get created, but it's worth experimenting with the first, before going the more risky route of a custom scheduler (in which we've already found some issues).
We may also find as GameServers shut down at the end of sessions, they start to group together when they reschedule, as at lower load, the scheduler tends to do a better job of packing.
Working towards #368