Packed: PreferredDuringSchedulingIgnoredDuringExecution PodAffinity with a HostName topology#397
Merged
markmandel merged 1 commit intoagones-dev:masterfrom Oct 25, 2018
Conversation
Collaborator
|
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:
|
cyriltovena
approved these changes
Oct 25, 2018
Collaborator
cyriltovena
left a comment
There was a problem hiding this comment.
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) |
…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 agones-dev#368
75ae5e6 to
ff25359
Compare
Collaborator
|
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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