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

Add a FAQ entry describing when you would use Agones vs. StatefulSets #2770

Closed
roberthbailey opened this issue Oct 20, 2022 · 3 comments · Fixed by #2824
Closed

Add a FAQ entry describing when you would use Agones vs. StatefulSets #2770

roberthbailey opened this issue Oct 20, 2022 · 3 comments · Fixed by #2824
Labels
kind/documentation Documentation for Agones kind/feature New features for Agones
Milestone

Comments

@roberthbailey
Copy link
Member

Is your feature request related to a problem? Please describe.
A common question with Agones is to understand when you would use it vs. using StatefulSets. We should add a FAQ entry that answers this question that we can point people to.

@roberthbailey roberthbailey added kind/feature New features for Agones kind/documentation Documentation for Agones labels Oct 20, 2022
@zmerlynn
Copy link
Collaborator

zmerlynn commented Nov 8, 2022

tbh, I feel like GameServers are closer to Jobs than StatefulSets.

@roberthbailey
Copy link
Member Author

They have a "run to completion" semantics similar to jobs, but there isn't the same notion of "N need to complete" that jobs do.

But maybe your point is that we should compare them to built-in workloads types (also deployments) more generally.

@zmerlynn
Copy link
Collaborator

zmerlynn commented Nov 9, 2022

They have a "run to completion" semantics similar to jobs, but there isn't the same notion of "N need to complete" that jobs do.

Sure, but at N=1, a Job and GameServer are very similar. Similar enough that I wonder if we could use Job.

But maybe your point is that we should compare them to built-in workloads types (also deployments) more generally.

That's a fair summary: I think it would be valuable for people to understand why this type exists and can't be served by types with broader support.

markmandel added a commit to markmandel/agones that referenced this issue Nov 25, 2022
The question of "Can't we use a Deployment or a StatefulSet for game
server workloads?" comes up a bunch in face to face conversations - so
here's a FAQ entry we can point people at.

Closes googleforgames#2770
markmandel added a commit to markmandel/agones that referenced this issue Dec 1, 2022
The question of "Can't we use a Deployment or a StatefulSet for game
server workloads?" comes up a bunch in face to face conversations - so
here's a FAQ entry we can point people at.

Closes googleforgames#2770
roberthbailey added a commit that referenced this issue Dec 1, 2022
FAQ: Why no use Deployment or StatefulSet?

The question of "Can't we use a Deployment or a StatefulSet for game
server workloads?" comes up a bunch in face to face conversations - so
here's a FAQ entry we can point people at.

Closes #2770

Co-authored-by: Robert Bailey <robertbailey@google.com>
chiayi pushed a commit to chiayi/agones that referenced this issue Dec 13, 2022
FAQ: Why no use Deployment or StatefulSet?

The question of "Can't we use a Deployment or a StatefulSet for game
server workloads?" comes up a bunch in face to face conversations - so
here's a FAQ entry we can point people at.

Closes googleforgames#2770

Co-authored-by: Robert Bailey <robertbailey@google.com>
@Kalaiselvi84 Kalaiselvi84 added this to the 1.29.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Documentation for Agones kind/feature New features for Agones
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants