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 allocator resources #1874

Merged
merged 5 commits into from
Nov 2, 2020
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 4 additions & 0 deletions install/helm/agones/templates/service/allocation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ spec:
- mountPath: /home/allocator/client-ca
name: client-ca
readOnly: true
{{- if .Values.agones.allocator.resources }}
resources:
{{ toYaml .Values.agones.allocator.resources | indent 10 }}
{{- end }}
{{- if .Values.agones.image.controller.pullSecret }}
imagePullSecrets:
- name: {{.Values.agones.image.controller.pullSecret}}
Expand Down
10 changes: 10 additions & 0 deletions install/helm/agones/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ agones:
priorityClassName: agones-system
controller:
resources: {}
# requests:
# cpu: 1
# memory: 256Mi
nodeSelector: {}
annotations: {}
tolerations:
Expand Down Expand Up @@ -69,6 +72,9 @@ agones:
ping:
install: true
resources: {}
# requests:
# cpu: 1
# memory: 256Mi
nodeSelector: {}
annotations: {}
tolerations:
Expand Down Expand Up @@ -111,6 +117,10 @@ agones:
apiServerQPS: 400
apiServerQPSBurst: 500
annotations: {}
resources: {}
# requests:
# cpu: 1
# memory: 256Mi
healthCheck:
initialDelaySeconds: 3
periodSeconds: 3
Expand Down
6 changes: 4 additions & 2 deletions site/content/en/docs/Installation/Install Agones/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ The following tables lists the configurable parameters of the Agones chart and t
| `agones.controller.healthCheck.periodSeconds` | Seconds between every liveness probe (in seconds) | `3` |
| `agones.controller.healthCheck.failureThreshold` | Number of times before giving up (in seconds) | `3` |
| `agones.controller.healthCheck.timeoutSeconds` | Number of seconds after which the probe times out (in seconds) | `1` |
| `agones.controller.resources` | Controller resource requests/limit | `{}` |
| `agones.controller.resources` | Controller [resource requests/limit][resources] | `{}` |
| `agones.controller.generateTLS` | Set to true to generate TLS certificates or false to provide your own certificates in `certs/*` | `true` |
| `agones.controller.nodeSelector` | Controller [node labels][nodeSelector] for pod assignment | `{}` |
| `agones.controller.tolerations` | Controller [toleration][toleration] labels for pod assignment | `[]` |
Expand Down Expand Up @@ -222,7 +222,7 @@ The following tables lists the configurable parameters of the Agones chart and t
| `agones.ping.healthCheck.periodSeconds` | Seconds between every liveness probe (in seconds) | `3` |
| `agones.ping.healthCheck.failureThreshold` | Number of times before giving up (in seconds) | `3` |
| `agones.ping.healthCheck.timeoutSeconds` | Number of seconds after which the probe times out (in seconds) | `1` |
| `agones.ping.resources` | Ping pods resource requests/limit | `{}` |
| `agones.ping.resources` | Ping pods [resource requests/limit][resources] | `{}` |
| `agones.ping.nodeSelector` | Ping [node labels][nodeSelector] for pod assignment | `{}` |
| `agones.ping.tolerations` | Ping [toleration][toleration] labels for pod assignment | `[]` |
| `agones.ping.affinity` | Ping [affinity][affinity] settings for pod assignment | `{}` |
Expand All @@ -248,6 +248,7 @@ The following tables lists the configurable parameters of the Agones chart and t

| Parameter | Description | Default |
| --------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------- |
| `agones.allocator.resources` | Allocator pods [resource requests/limit][resources] | `{}` |
| `agones.allocator.apiServerQPS` | Maximum sustained queries per second that an allocator should be making against API Server | `400` |
| `agones.allocator.apiServerQPSBurst` | Maximum burst queries per second that an allocator should be making against API Server | `500` |
| `agones.allocator.allocationTimeout` | Remote allocation call timeout. | `10s` |
Expand All @@ -268,6 +269,7 @@ The following tables lists the configurable parameters of the Agones chart and t
[allocator]: {{< ref "/docs/advanced/allocator-service.md" >}}
[loadBalancer]: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
[annotations]: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
[resources]: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/


Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
Expand Down