Skip to content
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

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

markmandel
Copy link
Member

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

@markmandel markmandel added kind/feature New features for Agones area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc labels Oct 23, 2018
@markmandel markmandel added this to the 0.6.0 milestone Oct 23, 2018
@markmandel markmandel changed the title This PR sets a preferredDuringSchedulingIgnoredDuringExecution PodAffinity with a HostName topology Packed: PreferredDuringSchedulingIgnoredDuringExecution PodAffinity with a HostName topology Oct 23, 2018
@agones-bot
Copy link
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:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/397/head:pr_397 && git checkout pr_397
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.6.0-75ae5e6

Copy link
Collaborator

@cyriltovena cyriltovena left a 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

#### 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)
Copy link
Collaborator

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
@agones-bot
Copy link
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:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/397/head:pr_397 && git checkout pr_397
  • helm install install/helm/agones --namespace agones-system --name agones --set agones.image.tag=0.6.0-ff25359

@markmandel markmandel merged commit 597344e into googleforgames:master Oct 25, 2018
@markmandel markmandel deleted the feature/pod-affinity branch October 25, 2018 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/feature New features for Agones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants