Skip to content

Conversation

khaines
Copy link
Collaborator

@khaines khaines commented Oct 13, 2021

Closes #10

This change updates the game server controller to update game server pods with the "cluster-autoscaler.kubernetes.io/safe-to-evict" annotation. Active game servers will be marked as false, so the Cluster Autoscaler will not scale down the node they are assigned to until the active session ends.

…in an Active state, the related pod is marked with an attribute to prevent eviction by the Cluster Autoscaler
@dgkanatsios dgkanatsios self-requested a review October 13, 2021 20:38
@dgkanatsios dgkanatsios merged commit b66fd38 into PlayFab:master Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scale down (ClusterAutoscaler) should not kill Active GameServer Pods
2 participants