mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-31 14:57:59 +00:00
modify deployment and chart for opionated deployment
This commit is contained in:
@@ -9,6 +9,8 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/component: "{{ .Release.Name }}-server"
|
app.kubernetes.io/component: "{{ .Release.Name }}-server"
|
||||||
template:
|
template:
|
||||||
|
strategy:
|
||||||
|
type: "{{ .Values.server.strategy }}"
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
{{- with .Values.server.annotations }}
|
{{- with .Values.server.annotations }}
|
||||||
|
|||||||
@@ -56,6 +56,8 @@ server:
|
|||||||
- name: rcon
|
- name: rcon
|
||||||
containerPort: 25575
|
containerPort: 25575
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
|
# -- (string) Change the deployment strategy
|
||||||
|
strategy: Recreate
|
||||||
|
|
||||||
# -- (dict) Change the service configuration.
|
# -- (dict) Change the service configuration.
|
||||||
# If you change those, make sure to change the server.config and server.ports accordingly.
|
# If you change those, make sure to change the server.config and server.ports accordingly.
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ metadata:
|
|||||||
name: palworld-server
|
name: palworld-server
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: palworld-server
|
app: palworld-server
|
||||||
|
|||||||
Reference in New Issue
Block a user