Skip to content

Commit 56e591e

Browse files
authored
upgrade agones to 1.50.0 (#158)
Signed-off-by: roc <[email protected]>
1 parent ccb4070 commit 56e591e

File tree

10 files changed

+273
-138
lines changed

10 files changed

+273
-138
lines changed

incubator/agones/Chart.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
apiVersion: v1
2-
appVersion: 1.47.0
3-
description: a library for hosting, running and scaling dedicated game servers on
4-
Kubernetes.
2+
appVersion: 1.50.0
3+
description: a library for hosting, running and scaling dedicated game servers on Kubernetes.
54
home: https://agones.dev
65
icon: https://cloudcache.tencent-cloud.com/qcloud/ui/static/Industry_tke/2fa75891-3677-41df-be03-cde850573fbf.png
6+
maintainers:
7+
- name: rockerchen
8+
79
keywords:
810
- go
911
- golang
1012
- dedicated-gameservers
1113
- multiplayer
1214
- game-development
13-
maintainers:
14-
- name: rockerchen
15-
1615
name: agones
1716
sources:
1817
- https://github.com/googleforgames/agones
19-
version: 1.47.0
18+
version: 1.50.0

incubator/agones/defaultfeaturegates.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,26 @@
1414

1515
# Default values for feature gates. Keep in sync with pkg/util/runtime/features.go:featureDefaults
1616

17+
# Stable features
18+
# Note that stable features cannot be set to "false", and are here so that upgrades from a
19+
# previous version with the feature flag do not fail on parsing an unknown flag.
20+
DisableResyncOnSDKServer: true
21+
1722
# Beta features
18-
GKEAutopilotExtendedDurationPods: true
23+
1924
AutopilotPassthroughPort: true
2025
CountsAndLists: true
21-
DisableResyncOnSDKServer: true
26+
GKEAutopilotExtendedDurationPods: true
27+
PortPolicyNone: true
28+
PortRanges: true
29+
RollingUpdateFix: true
2230

2331
# Alpha features
32+
FleetAutoscaleRequestMetaData: false
2433
PlayerAllocationFilter: false
2534
PlayerTracking: false
26-
RollingUpdateFix: false
27-
PortRanges: false
28-
PortPolicyNone: false
2935
ScheduledAutoscaler: false
36+
SidecarContainers: false
3037

3138
# Dev features
3239

incubator/agones/templates/crds/fleetautoscaler.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ spec:
9393
type: boolean
9494
scalingLimited:
9595
type: boolean
96+
lastAppliedPolicy:
97+
type: string
98+
default: ""
9699
subresources:
97100
# status enables the status subresource.
98101
status: {}

incubator/agones/templates/crds/k8s/_io.k8s.api.core.v1.PodTemplateSpec.yaml

Lines changed: 208 additions & 109 deletions
Large diffs are not rendered by default.

incubator/agones/templates/hooks/pre_delete_hook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spec:
4141
restartPolicy: Never
4242
containers:
4343
- name: pre-delete-delete-agones-resources
44-
image: "ccr.ccs.tencentyun.com/tke-market/kubectl:1.30.4"
44+
image: "ccr.ccs.tencentyun.com/tke-market/kubectl:1.32.4"
4545
command:
4646
- "/bin/sh"
4747
- "/scripts/delete_agones_resources.sh"

incubator/agones/templates/ping.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ metadata:
158158
spec:
159159
selector:
160160
agones.dev/role: ping
161+
{{- if .Values.agones.ping.http.ipFamilyPolicy }}
162+
ipFamilyPolicy: {{ .Values.agones.ping.http.ipFamilyPolicy }}
163+
{{- end }}
164+
{{- if .Values.agones.ping.http.ipFamilies }}
165+
ipFamilies: {{ toYaml .Values.agones.ping.http.ipFamilies | nindent 4 }}
166+
{{- end }}
161167
ports:
162168
- port: {{ .Values.agones.ping.http.port }}
163169
name: http
@@ -199,6 +205,12 @@ metadata:
199205
spec:
200206
selector:
201207
agones.dev/role: ping
208+
{{- if .Values.agones.ping.udp.ipFamilyPolicy }}
209+
ipFamilyPolicy: {{ .Values.agones.ping.udp.ipFamilyPolicy }}
210+
{{- end }}
211+
{{- if .Values.agones.ping.udp.ipFamilies }}
212+
ipFamilies: {{ toYaml .Values.agones.ping.udp.ipFamilies | nindent 4 }}
213+
{{- end }}
202214
ports:
203215
- port: {{ .Values.agones.ping.udp.port }}
204216
name: udp

incubator/agones/templates/service/allocation.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ metadata:
3333
spec:
3434
selector:
3535
multicluster.agones.dev/role: allocator
36+
{{- if .Values.agones.allocator.service.ipFamilyPolicy }}
37+
ipFamilyPolicy: {{ .Values.agones.allocator.service.ipFamilyPolicy }}
38+
{{- end }}
39+
{{- if .Values.agones.allocator.service.ipFamilies }}
40+
ipFamilies: {{ toYaml .Values.agones.allocator.service.ipFamilies | nindent 4 }}
41+
{{- end }}
3642
ports:
3743
{{- if .Values.agones.allocator.service.http.enabled }}
3844
- port: {{ .Values.agones.allocator.service.http.port }}

incubator/agones/templates/tests/test-runner.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ spec:
2525
serviceAccountName: agones-controller
2626
containers:
2727
- name: create-gameserver
28-
image: us-docker.pkg.dev/agones-images/examples/crd-client:0.19
28+
image: us-docker.pkg.dev/agones-images/examples/crd-client:0.21
2929
imagePullPolicy: Always
3030
env:
3131
- name: GAMESERVER_IMAGE
32-
value: "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.36"
32+
value: "us-docker.pkg.dev/agones-images/examples/simple-game-server:0.38"
3333
- name: IS_HELM_TEST
3434
value: "true"
3535
- name: GAMESERVERS_NAMESPACE

incubator/agones/values.schema.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,10 @@
213213
"annotations": {
214214
"type": "object",
215215
"additionalProperties": {
216-
"type": "string"
216+
"type": "object",
217+
"additionalProperties": {
218+
"type": "string"
219+
}
217220
}
218221
}
219222
},
@@ -435,7 +438,7 @@
435438
"type": "string"
436439
},
437440
"customCertSecretPath": {
438-
"type": "object"
441+
"type": "array"
439442
},
440443
"maxCreationParallelism": {
441444
"type": "integer"
@@ -456,7 +459,7 @@
456459
"type": "integer"
457460
},
458461
"topologySpreadConstraints": {
459-
"type": "object"
462+
"type": "array"
460463
},
461464
"apiServerQPS": {
462465
"type": "integer"
@@ -736,7 +739,7 @@
736739
]
737740
},
738741
"topologySpreadConstraints": {
739-
"type": "object"
742+
"type": "array"
740743
}
741744
},
742745
"allOf": [
@@ -1093,7 +1096,7 @@
10931096
]
10941097
},
10951098
"topologySpreadConstraints": {
1096-
"type": "object"
1099+
"type": "array"
10971100
},
10981101
"healthCheck": {
10991102
"$ref": "#/definitions/healthCheck"
@@ -1209,7 +1212,7 @@
12091212
"type": "boolean"
12101213
},
12111214
"customCertSecretPath": {
1212-
"type": "object"
1215+
"type": "array"
12131216
},
12141217
"allocationApiService": {
12151218
"type": "object",
@@ -1286,7 +1289,7 @@
12861289
]
12871290
},
12881291
"topologySpreadConstraints": {
1289-
"type": "object"
1292+
"type": "array"
12901293
}
12911294
},
12921295
"allOf": [

incubator/agones/values.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ agones:
7474
mutatingWebhook:
7575
annotations: {}
7676
disableCaBundle: false
77-
customCertSecretPath: {}
77+
customCertSecretPath: []
7878
safeToEvict: false
7979
persistentLogs: true
8080
persistentLogsSizeLimitMB: 10000
@@ -98,7 +98,7 @@ agones:
9898
replicas: 2
9999
pdb:
100100
minAvailable: 1
101-
topologySpreadConstraints: {}
101+
topologySpreadConstraints: []
102102
extensions:
103103
resources: {}
104104
# requests:
@@ -134,7 +134,7 @@ agones:
134134
mutatingWebhook:
135135
annotations: {}
136136
disableCaBundle: false
137-
customCertSecretPath: {}
137+
customCertSecretPath: []
138138
persistentLogs: true
139139
persistentLogsSizeLimitMB: 10000
140140
logLevel: info
@@ -158,7 +158,7 @@ agones:
158158
initialDelaySeconds: 3
159159
periodSeconds: 3
160160
failureThreshold: 3
161-
topologySpreadConstraints: {}
161+
topologySpreadConstraints: []
162162
ping:
163163
install: true
164164
pdb:
@@ -187,6 +187,8 @@ agones:
187187
externalTrafficPolicy: Cluster
188188
loadBalancerSourceRanges: []
189189
annotations: {}
190+
ipFamilyPolicy: ""
191+
ipFamilies: []
190192
udp:
191193
expose: true
192194
rateLimit: 20
@@ -197,12 +199,14 @@ agones:
197199
externalTrafficPolicy: Cluster
198200
loadBalancerSourceRanges: []
199201
annotations: {}
202+
ipFamilyPolicy: ""
203+
ipFamilies: []
200204
healthCheck:
201205
initialDelaySeconds: 3
202206
periodSeconds: 3
203207
failureThreshold: 3
204208
timeoutSeconds: 1
205-
topologySpreadConstraints: {}
209+
topologySpreadConstraints: []
206210
allocator:
207211
install: true
208212
pdb:
@@ -240,6 +244,8 @@ agones:
240244
loadBalancerIP: ""
241245
loadBalancerSourceRanges: []
242246
annotations: {}
247+
ipFamilyPolicy: ""
248+
ipFamilies: []
243249
http:
244250
enabled: true
245251
appProtocol: ""
@@ -273,10 +279,10 @@ agones:
273279
remoteAllocationTimeout: 10s
274280
totalRemoteAllocationTimeout: 30s
275281
allocationBatchWaitTime: 500ms
276-
topologySpreadConstraints: {}
282+
topologySpreadConstraints: []
277283
image:
278284
registry: ccr.ccs.tencentyun.com/tke-market
279-
tag: 1.47.0
285+
tag: 1.50.0
280286
controller:
281287
name: agones-controller
282288
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)