mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
- Added limits for the server container spec;
This commit is contained in:
@@ -44,6 +44,7 @@ This chart can provide an rAthena emulator installation on a Kubernetes cluster.
|
||||
| server.ports[0] | dict | `{"containerPort":8211,"name":"game","protocol":"UDP"}` | The "game" port definition. If you change this, make sure to change the service.ports.game and server.config accordingly. |
|
||||
| server.ports[1] | dict | `{"containerPort":27015,"name":"query","protocol":"UDP"}` | The "query" port definition . If you change this, make sure to change the service.ports.query_port and server.config accordingly. |
|
||||
| server.ports[2] | dict | `{"containerPort":25575,"name":"rcon","protocol":"UDP"}` | The "rcon" port definition . If you change this, make sure to change the service.ports.rcon and server.config accordingly. |
|
||||
| server.resources | dict | `{"limits":{"cpu":4,"memory":"12Gi"},"requests":{"cpu":4,"memory":"8Gi"}}` | Resources limits for the container. |
|
||||
| server.service | dict | | Change the service configuration. If you change those, make sure to change the server.config and server.ports accordingly. |
|
||||
| server.service.annotations | object | `{}` | Additional annotations to the resources |
|
||||
| server.service.enabled | bool | `true` | Enables the creation of the service component. |
|
||||
|
||||
@@ -36,6 +36,10 @@ spec:
|
||||
- name: server
|
||||
image: "{{ .Values.server.image.name }}:{{ .Values.server.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.server.image.imagePullPolicy }}
|
||||
resources:
|
||||
{{- with .Values.server.resources }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
{{- with .Values.server.ports }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
|
||||
@@ -7,6 +7,14 @@ server:
|
||||
annotations: { }
|
||||
# -- Additional labels to the resources
|
||||
labels: { }
|
||||
# -- (dict) Resources limits for the container.
|
||||
resources:
|
||||
limits:
|
||||
cpu: 4
|
||||
memory: "12Gi"
|
||||
requests:
|
||||
cpu: 4
|
||||
memory: "8Gi"
|
||||
# -- (dict) Define some parameters for the storage volume
|
||||
storage:
|
||||
# -- (bool) Define if it will use an existing PVC containing the installation data.
|
||||
|
||||
Reference in New Issue
Block a user