Merge pull request #141 from Mercwri/k8s-deployment-modification

modify deployment and chart for opionated deployment
This commit is contained in:
Thijs van Loef
2024-01-28 10:30:47 +01:00
committed by GitHub
3 changed files with 6 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ spec:
selector:
matchLabels:
app.kubernetes.io/component: "{{ .Release.Name }}-server"
strategy:
type: "{{ .Values.server.strategy }}"
template:
metadata:
annotations:

View File

@@ -56,6 +56,8 @@ server:
- name: rcon
containerPort: 25575
protocol: UDP
# -- (string) Change the deployment strategy
strategy: Recreate
# -- (dict) Change the service configuration.
# If you change those, make sure to change the server.config and server.ports accordingly.

View File

@@ -6,6 +6,8 @@ metadata:
name: palworld-server
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: palworld-server