Add Helm chart to deploy Valheim dedicated server
StatefulSet with persistent world data, NodePort service for game/query/ crossplay ports, and secret for the server password. Co-authored-by: Copilot <[email protected]>
This commit is contained in:
+66
@@ -0,0 +1,66 @@
|
||||
## Default values for the valheim chart
|
||||
|
||||
namespace:
|
||||
# If true, the chart creates the namespace itself.
|
||||
create: true
|
||||
name: valheim
|
||||
|
||||
image:
|
||||
repository: lloesche/valheim-server
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
server:
|
||||
name: "Valtersheim"
|
||||
worldName: "Midgard"
|
||||
# Leave empty to auto-generate a random password on first deploy via the secret below.
|
||||
# It is strongly recommended to override this via --set or a separate values file that is
|
||||
# NOT committed to git (or use SealedSecrets/ExternalSecrets in production).
|
||||
password: "changeme-please-override"
|
||||
public: true
|
||||
# Comma separated SteamIDs allowed to join/admin the server (optional)
|
||||
admins: ""
|
||||
updateIntervalSeconds: 900
|
||||
backupIntervalSeconds: 3600
|
||||
backupCronExpression: ""
|
||||
# extra env vars appended to the container, e.g. SERVER_ARGS, CROSSPLAY, etc.
|
||||
extraEnv: []
|
||||
# - name: CROSSPLAY
|
||||
# value: "true"
|
||||
|
||||
service:
|
||||
type: NodePort
|
||||
# Game (2456), query (2457) and crossplay (2458) ports.
|
||||
gamePort: 2456
|
||||
queryPort: 2457
|
||||
crossplayPort: 2458
|
||||
# Only used when type is NodePort. Leave 0 to let Kubernetes pick a random port.
|
||||
nodePorts:
|
||||
game: 30456
|
||||
query: 30457
|
||||
crossplay: 30458
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
# Leave empty to use the cluster default StorageClass.
|
||||
storageClassName: ""
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 1000m
|
||||
memory: 3Gi
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 6Gi
|
||||
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
Reference in New Issue
Block a user