satisfactory-server

by Josh-nzl

Helm chartv0.1.6App v1.9.10MITVerified publisher

A Helm chart for running a Satisfactory dedicated game server on Kubernetes

About this chart

satisfactory-server

A Helm chart for running a Satisfactory dedicated game server on Kubernetes

Runs the community-standard wolveix/satisfactory-server image as a single-replica Deployment with persistent storage for saves and game files.

Before you install

  • The first start takes a while. SteamCMD installs the game, about 3GB of game files before the server answers anything. The pod stays un-Ready for the whole of that, which is expected and what the long startup probe is for.
  • The server needs real memory. Upstream asks for 8-16GB. The chart requests 8GB and limits at 12GB by default.
  • Three ports, all required. 7777/TCP (HTTPS API), 7777/UDP (game traffic) and 8888/TCP (messaging, mandatory since Satisfactory 1.1). Forward only TCP and clients find the server but never finish joining; miss 8888 and they hit API connectivity errors.
  • A new server must be claimed from the game client. The chart cannot do it.

Homepage: https://github.com/josh-nzl/satisfactory-server

Maintainers

NameEmailUrl
josh-nzl[email protected]https://github.com/josh-nzl

Source Code

Requirements

Kubernetes: >=1.26.0-0

Installing

helm repo add satisfactory https://josh-nzl.github.io/satisfactory-server
helm install my-server satisfactory/satisfactory-server

Or straight from the OCI registry:

helm install my-server oci://ghcr.io/josh-nzl/charts/satisfactory-server

Notes on a few values

podSecurityContext.runAsUser

Only 1000 or 0 are accepted, and anything else fails at render time.

The image's entrypoint fixes volume ownership and drops privileges with gosu when it runs as root. When it runs as anything else it compares both its UID and its GID against the steam user built into the image and exits if either differs. PUID and PGID are therefore derived from the security context rather than being set independently, so the two cannot drift apart.

Running as root additionally needs CHOWN, SETUID, SETGID, DAC_OVERRIDE and FOWNER added back to the container capabilities -- dropping ALL breaks the very chown the root path exists to perform. See docs/configuration.md.

persistence

Two claims by default. config holds saves, blueprints, backups and server settings and is kept when the release is uninstalled. gamefiles holds the SteamCMD download, is not kept, and can be an emptyDir if you would rather re-download than pay for the storage.

tls

Off by default, and the server then self-signs — players see a certificate warning when they join, and nothing else is wrong. Supply a Secret to replace it, laid out the way cert-manager writes one.

The certificate has to name the exact host players type in. Satisfactory does not accept wildcards and verifies the hostname strictly, and a mismatch fails as a generic API connection error with nothing in the server log. See docs/networking.md.

server.debug

Not a verbose-logging switch. The entrypoint prints a diagnostic dump and then exits, so the pod CrashLoops for as long as it is set.

Values

KeyTypeDefaultDescription
affinityobject{}Affinity rules for the server pod. Worth setting if only some nodes have the memory and CPU for a game server.
containerSecurityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":false,"seccompProfile":{"type":"RuntimeDefault"}}Container-level security context. The defaults satisfy the restricted Pod Security Standard. Running as root additionally needs CHOWN, SETUID, SETGID, DAC_OVERRIDE and FOWNER added back -- see docs/configuration.md.
dnsConfigobject{}DNS config for the pod.
dnsPolicystring""DNS policy. Set to ClusterFirstWithHostNet when hostNetwork is true.
extraEnvlist[]Additional environment variables, in raw Kubernetes env form. Rendered after the server.* block, so an entry here overrides the generated value. Use this for any variable the image gains before the chart catches up.
extraEnvFromlist[]Additional environment sources (envFrom), for pulling whole ConfigMaps or Secrets into the container environment.
extraObjectslist[]Arbitrary extra manifests to render with the release. Strings are passed through tpl, so they can reference chart values.
extraVolumeMountslist[]Additional volume mounts for the server container.
extraVolumeslist[]Additional volumes for the pod.
fullnameOverridestring""Override the full generated resource name.
hostNetworkboolfalseRun the pod on the host network. Sidesteps the Service entirely; the ports are then claimed directly on the node.
image.pullPolicystring"IfNotPresent"Image pull policy.
image.repositorystring"wolveix/satisfactory-server"Container image repository.
image.tagstring""Image tag. Defaults to the chart's appVersion when empty. Pinning this pins the container, not the game -- the container updates Satisfactory itself on every start unless server.skipUpdate is true.
imagePullSecretslist[]Image pull secrets for private registries.
initContainerslist[]Init containers for the server pod.
lifecycleobject{}Container lifecycle hooks.
nameOverridestring""Override the chart name used in resource names.
networkPolicy.allowedSourceRangeslist["0.0.0.0/0"]Source CIDRs allowed to reach the game ports. A public game server needs to be publicly reachable; narrow this for a friends-only or LAN server.
networkPolicy.egress.allowDNSbooltrueAllow DNS to the cluster resolver.
networkPolicy.egress.allowedDestinationslist["0.0.0.0/0"]Destination CIDRs the server may reach, with private ranges excluded so a compromised game server cannot pivot into the rest of the network.
networkPolicy.egress.enabledbooltrueManage egress as well as ingress. Disabling this leaves egress unrestricted, which is safer than getting it wrong: the server must reach Steam on every start or the game update fails and the container exits.
networkPolicy.egress.exceptDestinations[0]string"10.0.0.0/8"
networkPolicy.egress.exceptDestinations[1]string"172.16.0.0/12"
networkPolicy.egress.exceptDestinations[2]string"192.168.0.0/16"
networkPolicy.egress.exceptDestinations[3]string"169.254.0.0/16"
networkPolicy.enabledboolfalseCreate a NetworkPolicy for the server pod.
networkPolicy.extraEgresslist[]Additional egress rules, in raw NetworkPolicy form.
networkPolicy.extraIngresslist[]Additional ingress rules, in raw NetworkPolicy form.
nodeSelectorobject{}Node selector for the server pod.
persistence.config.accessModeslist["ReadWriteOnce"]Access modes for the claim.
persistence.config.annotationsobject{}Extra annotations for the claim.
persistence.config.enabledbooltruePersist /config (saves, blueprints, backups, logs, server settings).
persistence.config.existingClaimstring""Use an existing PersistentVolumeClaim instead of creating one.
persistence.config.labelsobject{}Extra labels for the claim.
persistence.config.retainbooltrueKeep the claim when the release is uninstalled. On by default, because deleting this claim destroys your saves.
persistence.config.sizestring"5Gi"Size of the claim. Saves and backups are small; this is generous.
persistence.config.storageClassstring""StorageClass for the claim. Empty uses the cluster default; - disables dynamic provisioning entirely.
persistence.gamefiles.accessModeslist["ReadWriteOnce"]Access modes for the claim.
persistence.gamefiles.annotationsobject{}Extra annotations for the claim.
persistence.gamefiles.emptyDir.sizeLimitstring""Size limit when type is emptyDir.
persistence.gamefiles.enabledbooltrueGive the game installation its own volume at /config/gamefiles. When disabled, the game files live inside the config volume instead.
persistence.gamefiles.existingClaimstring""Use an existing PersistentVolumeClaim instead of creating one.
persistence.gamefiles.labelsobject{}Extra labels for the claim.
persistence.gamefiles.retainboolfalseKeep the claim when the release is uninstalled. Off by default: the contents are re-downloadable.
persistence.gamefiles.sizestring"10Gi"Size of the claim. The Linux server files are around 3GB today, so this is mostly headroom for future game updates. Note most CSI drivers can grow a claim later but none can shrink one.
persistence.gamefiles.storageClassstring""StorageClass for the claim. This volume is disposable, so cheaper or slower storage is a reasonable choice.
persistence.gamefiles.typestring"pvc"pvc or emptyDir. emptyDir re-downloads the whole game (about 3GB) on every pod start, so only use it where the node has fast, cheap local storage.
pgidstring""Override PGID. Derived from podSecurityContext.runAsGroup when empty.
podAnnotationsobject{}Annotations for the server pod.
podLabelsobject{}Extra labels for the server pod.
podSecurityContextobject{"fsGroup":1000,"fsGroupChangePolicy":"OnRootMismatch","runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000}Pod-level security context. runAsUser and runAsGroup must both be 1000 (the steam user and group baked into the image) or runAsUser must be 0. The image's entrypoint only fixes volume ownership when it runs as root; as a non-root user it compares both its UID and its GID against the built-in steam user and exits if either differs. Anything else is rejected at render time rather than left to CrashLoop. Non-root relies on the CSI driver honouring fsGroup to make the volumes writable -- the entrypoint checks /config is writable and exits if it is not. See docs/troubleshooting.md if you hit permission errors.
priorityClassNamestring""PriorityClass for the server pod.
probes.liveness.enabledbooltrueEnable the liveness probe.
probes.liveness.failureThresholdint4
probes.liveness.initialDelaySecondsint0
probes.liveness.periodSecondsint30
probes.liveness.successThresholdint1
probes.liveness.timeoutSecondsint10
probes.readiness.enabledbooltrueEnable the readiness probe. Keeps the pod out of the Service endpoints until the game API actually answers.
probes.readiness.failureThresholdint3
probes.readiness.initialDelaySecondsint0
probes.readiness.periodSecondsint15
probes.readiness.successThresholdint1
probes.readiness.timeoutSecondsint10
probes.startup.enabledbooltrueEnable the startup probe. This is what tolerates the very slow first boot, where SteamCMD downloads the game before the server can answer.
probes.startup.failureThresholdint120120 failures at 15s is a 30 minute budget for the first start. Raise it on a slow connection; the pod is killed and restarted if it is exceeded.
probes.startup.initialDelaySecondsint30
probes.startup.periodSecondsint15
probes.startup.successThresholdint1
probes.startup.timeoutSecondsint10
puidstring""Override PUID. Derived from podSecurityContext.runAsUser when empty, which is what keeps the environment and the security context from disagreeing. Only set this when running as root, where the two legitimately differ.
resourcesobject{"limits":{"memory":"12Gi"},"requests":{"cpu":2,"memory":"8Gi"}}Resource requests and limits. Upstream recommends 8-16GB of RAM; a busy factory will use all of it. There is deliberately no CPU limit by default: throttling the simulation tick loop degrades the game for everyone connected.
server.autosaveNumint5Number of rotating autosave files to keep (AUTOSAVENUM).
server.beta.enabledboolfalseRun the experimental game branch (STEAMBETA).
server.beta.idstring""Custom Steam beta branch name (STEAMBETAID). Only for testing.
server.beta.keystring""Password for the Steam beta branch (STEAMBETAKEY). Prefer extraEnvFrom with a Secret over putting this in values.
server.debugboolfalseOne-shot diagnostic dump (DEBUG). This is not a verbose logging switch: the entrypoint prints its environment and host details and then exits, so the pod will CrashLoop for as long as it is set. Turn it on to read the dump from kubectl logs, then turn it off again.
server.disableSeasonalEventsboolfalseDisable the FICSMAS seasonal event (DISABLESEASONALEVENTS).
server.gamePortint7777Game port, used for both TCP (HTTPS API) and UDP (game traffic) (SERVERGAMEPORT).
server.logboolfalseDisable Satisfactory log pruning, kee

Deploy satisfactory-server with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has satisfactory-server on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsatisfactory-server is pinned at v0.1.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply