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

Counters: Update Default Capacity #3594

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ spec:
# counters: # counters are int64 counters that can be incremented and decremented by set amounts. Keys must be declared at GameServer creation time.
# games: # arbitrary key.
# count: 1 # initial value.
# capacity: 100 # (Optional) Maximum value for the counter. 0 is max(int64).
# capacity: 100 # (Optional) Maximum value for the counter and defaults to max(int64).
# sessions:
# count: 1
# lists: # lists are lists of values stored against this GameServer that can be added and deleted from. Keys must be declared at GameServer creation time.
Expand Down
2 changes: 1 addition & 1 deletion examples/gameserverallocation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
# rooms:
# minCount: 1 # minimum value. Defaults to 0.
# maxCount: 5 # maximum value. Defaults to max(int64)
# minAvailable: 1 # minimum available (current capacity - current count). Defaults to 0.
# minAvailable: 1 # minimum available (current capacity - current count). Defaults to max(int64).
# maxAvailable: 10 # maximum available (current capacity - current count) Defaults to max(int64)
# lists:
# players:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ properties:
capacity:
title: Max capacity of the counter
type: integer
default: 1000
default: 9223372036854775807
minimum: 0
lists:
type: object
Expand Down
2 changes: 1 addition & 1 deletion install/helm/agones/templates/crds/_gameserverstatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ status:
minimum: 0
capacity:
type: integer
default: 1000
default: 9223372036854775807
minimum: 0
lists:
type: object
Expand Down
8 changes: 4 additions & 4 deletions install/yaml/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5478,7 +5478,7 @@ spec:
capacity:
title: Max capacity of the counter
type: integer
default: 1000
default: 9223372036854775807
minimum: 0
lists:
type: object
Expand Down Expand Up @@ -10893,7 +10893,7 @@ spec:
capacity:
title: Max capacity of the counter
type: integer
default: 1000
default: 9223372036854775807
minimum: 0
lists:
type: object
Expand Down Expand Up @@ -11015,7 +11015,7 @@ spec:
minimum: 0
capacity:
type: integer
default: 1000
default: 9223372036854775807
minimum: 0
lists:
type: object
Expand Down Expand Up @@ -16430,7 +16430,7 @@ spec:
capacity:
title: Max capacity of the counter
type: integer
default: 1000
default: 9223372036854775807
minimum: 0
lists:
type: object
Expand Down