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

Better documentation for BufferPolicy in fleetautoscaler #1104

Closed
Yingxin-Jiang opened this issue Oct 8, 2019 · 7 comments
Closed

Better documentation for BufferPolicy in fleetautoscaler #1104

Yingxin-Jiang opened this issue Oct 8, 2019 · 7 comments
Assignees
Labels
kind/documentation Documentation for Agones kind/feature New features for Agones
Milestone

Comments

@Yingxin-Jiang
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Missing documentation for BufferPolicy in fleetautoscaler, defined in https://github.com/googleforgames/agones/blob/master/pkg/apis/autoscaling/v1/fleetautoscaler.go#L85?

Describe the solution you'd like
Please provide better documentation for BufferPolicy defined in fleetautoscaler. For example, (1) when should percentage bufferSize be used; (2) what are the recommendations for maxReplicas and minReplicas when bufferSize is absolute or percentage; (3) is it okay to set maxReplicas and minReplicas as optional etc..

@Yingxin-Jiang Yingxin-Jiang added the kind/feature New features for Agones label Oct 8, 2019
@aLekSer
Copy link
Collaborator

aLekSer commented Oct 9, 2019

There is auto-generated documentation, which is here:
https://agones.dev/site/docs/reference/agones_crd_api_reference/#BufferPolicy

@Yingxin-Jiang
Copy link
Contributor Author

I read the documentation before creating the issue.
For MinReplicas, it says "... If zero, it is ignored... ". Does this mean MinReplicas is an optional parameter? If I have MinReplicas=0, BufferSize=20%, MaxReplicas=100, how many game servers will be in ready state?

@markmandel markmandel added the kind/documentation Documentation for Agones label Oct 24, 2019
@markmandel
Copy link
Member

From: https://agones.dev/site/docs/reference/fleetautoscaler/

minReplicas is the minimum fleet size to be set by this FleetAutoscaler. if not specified, the minimum fleet size will be bufferSize if absolute value is used. When bufferSize in percentage format is used,

What is this when bufferSize is a percentage? I couldn't work it out from the code.

@aLekSer
Copy link
Collaborator

aLekSer commented Oct 30, 2019

/assign alekser

@aLekSer
Copy link
Collaborator

aLekSer commented Dec 4, 2019

Returning back to this ticket

@markmandel
Copy link
Member

I'm pretty sure this is complete, yeah? We can close it?

@markmandel
Copy link
Member

Closing. Please let me know if it needs to re-opened.

@markmandel markmandel added this to the 1.4.0 milestone Jan 28, 2020
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

No branches or pull requests

3 participants