minecraft

by HelmForge

Helm chartv1.5.10App 2026.11.1Apache-2.0Verified publisher

A Helm chart for deploying Minecraft Java Edition servers on Kubernetes

About this chart

Minecraft Server

A Helm chart for deploying Minecraft Java Edition servers on Kubernetes using the itzg/minecraft-server container image.

Installation

HTTPS Repository

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install minecraft helmforge/minecraft --set server.eula=true

OCI Registry

helm install minecraft oci://ghcr.io/helmforgedev/helm/minecraft --set server.eula=true

Important: You must set server.eula=true to accept the Minecraft EULA. The server will not start without it.

Quick Start

helm install minecraft oci://ghcr.io/helmforgedev/helm/minecraft \
  --set server.eula=true \
  --set server.motd="My Server" \
  --set jvm.memory=2G

Features

  • Multiple Server Types — Vanilla, Paper, Spigot, Forge, Fabric, Quilt, and more via the server.type value
  • GeyserMC Cross-Play — Allow Bedrock (mobile, console) clients to join Java servers
  • Authentication & Access Control — Online/offline mode, whitelist, operators
  • RCON Remote Console — Enabled by default with auto-generated password
  • Persistent Storage — PVC for world data, configs, plugins, and mods
  • Scheduled Backups — CronJob-based backup to S3-compatible storage with RCON save coordination
  • Prometheus Monitoring — mc-monitor sidecar with ServiceMonitor support
  • Mod/Plugin Management — Modrinth, CurseForge, Spiget, and direct URL downloads
  • Optimized JVM — Aikar's GC flags for production workloads
  • Server Resource Pack — URL-based with SHA-1 verification and enforcement
  • Dual-stack — ipFamilyPolicy/ipFamilies on the game and RCON Services for IPv4/IPv6 clusters
  • ExternalSecrets — opt-in ExternalSecret to source the RCON password from an external secrets store

Supported Server Types

TypeValueDescription
VanillaVANILLAOfficial Mojang server (default)
PaperPAPERHigh-performance Spigot fork (recommended for production)
SpigotSPIGOTBukkit-based plugin server
ForgeFORGEMod platform for Java mods
FabricFABRICLightweight mod loader
QuiltQUILTCommunity-driven Fabric fork
Auto CurseForgeAUTO_CURSEFORGECurseForge modpack auto-install

Configuration

Minimal (Simple Setup)

server:
  eula: true
  motd: "My Minecraft Server"

jvm:
  memory: 1G

persistence:
  enabled: true
  size: 10Gi

Production (Full Setup)

server:
  eula: true
  type: PAPER
  version: LATEST
  difficulty: normal
  maxPlayers: 50
  viewDistance: 8

jvm:
  memory: 4G
  useAikarFlags: true

auth:
  onlineMode: true
  whitelist: "player1,player2"
  enforceWhitelist: true
  ops: "player1"

rcon:
  enabled: true
  existingSecret: minecraft-rcon

metrics:
  enabled: true
  serviceMonitor:
    enabled: true

backup:
  enabled: true
  schedule: "0 4 * * *"
  s3:
    endpoint: https://s3.amazonaws.com
    bucket: minecraft-backups
    existingSecret: minecraft-s3

persistence:
  enabled: true
  size: 50Gi

resources:
  requests:
    cpu: "1"
    memory: 4Gi
  limits:
    cpu: "4"
    memory: 8Gi

Cross-Play (GeyserMC)

server:
  eula: true
  type: PAPER

geyser:
  enabled: true
  port: 19132

mods:
  # GeyserMC is available as a Paper plugin through Modrinth.
  # Use geyser:beta when upstream has not promoted a compatible release yet.
  modrinthProjects: "geyser:beta"

Floodgate is optional for Bedrock players without Java accounts. For Paper or Spigot servers, provide the platform-specific Floodgate plugin through mods.downloadUrls or another plugin delivery workflow rather than mods.modrinthProjects.

Parameters

Server

KeyDefaultDescription
server.eulatrueAccept the Minecraft EULA (required)
server.typeVANILLAServer type (VANILLA, PAPER, FORGE, FABRIC, etc.)
server.versionLATESTMinecraft version
server.preferIPv6falsePrefer the IPv6 Java network stack and addresses
server.runnermc-server-runnerProcess supervisor command
server.motdA Minecraft Server powered by HelmForgeMessage of the day
server.difficultynormalGame difficulty
server.gameModesurvivalDefault game mode
server.maxPlayers20Maximum concurrent players
server.viewDistance10View distance in chunks
server.simulationDistance10Simulation distance in chunks
server.seed""World seed
server.worldSaveNameworldWorld directory name
server.levelTypeDEFAULTLevel type
server.pvptrueEnable PvP
server.allowNethertrueEnable the Nether
server.allowFlightfalseAllow flight
server.enableCommandBlockfalseEnable command blocks
server.forceGameModefalseForce game mode on join
server.hardcorefalseHardcore mode
server.spawnProtection16Spawn protection radius
server.port25565Server port
server.extraProperties{}Extra server.properties entries
server.extraEnv[]Extra environment variables
server.extraArgs""Extra server JAR arguments

JVM

KeyDefaultDescription
jvm.memory1GJVM heap allocation (-Xms/-Xmx)
jvm.initMemory""Override initial heap size
jvm.maxMemory""Override max heap size
jvm.useAikarFlagsfalseUse Aikar's optimized GC flags
jvm.jvmOpts""Additional JVM options
jvm.xxOpts""Additional -XX JVM options

Authentication

KeyDefaultDescription
auth.onlineModetrueMojang online authentication
auth.whitelist""Whitelisted players (comma-separated)
auth.enforceWhitelistfalseEnforce whitelist immediately
auth.ops""Operators (comma-separated)

GeyserMC

KeyDefaultDescription
geyser.enabledfalseEnable GeyserMC cross-play
geyser.port19132Bedrock listener port (UDP)

RCON

KeyDefaultDescription
rcon.enabledtrueEnable RCON
rcon.port25575RCON port
rcon.password""RCON password (auto-generated if empty)
rcon.existingSecret""Existing secret for RCON password
rcon.existingSecretKeyrcon-passwordKey in existing secret
rcon.serviceEnabledfalseExpose RCON as a Service
rcon.serviceTypeClusterIPRCON Service type

Persistence

KeyDefaultDescription
persistence.enabledtrueEnable persistent storage
persistence.storageClass""Storage class
persistence.accessModeReadWriteOncePVC access mode
persistence.size10GiPVC size
persistence.existingClaim""Use existing PVC
persistence.annotations{}PVC annotations

Metrics

KeyDefaultDescription
metrics.enabledfalseEnable mc-monitor sidecar
metrics.image.repositoryitzg/mc-monitormc-monitor image
metrics.image.tag0.16.1mc-monitor tag
metrics.port8080Metrics port
metrics.serviceMonitor.enabledfalseCreate ServiceMonitor
metrics.serviceMonitor.interval30sScrape interval
metrics.serviceMonitor.labels{}Extra ServiceMonitor labels

Backup

KeyDefaultDescription
backup.enabledfalseEnable S3 backups
backup.schedule0 4 * * *Cron schedule
backup.archivePrefixminecraftArchive filename prefix
backup.excludes*.jar cache logsExcluded patterns
backup.s3.endpoint""S3-compatible endpoint
backup.s3.bucket""Target bucket
backup.s3.prefixminecraftKey prefix in bucket
backup.s3.existingSecret""Existing secret for S3 credentials
backup.s3.accessKey""Inline access key
backup.s3.secretKey""Inline secret key

Upgrade Notes

The 2026.11.1 image updates the bundled helper and monitor components, improves archive extraction, and fixes GTNH handling. Existing defaults remain unchanged. It retains the behavior that stops startup after failed custom-server, BuildTools, Sponge, modpack or FTB installer downloads instead of continuing with incomplete artifacts. Confirm modpack downloads and installer success before rolling out. The dated image pins the container distribution, not the game: pin server.version separately to keep an image update from downloading a newer Minecraft release.

Earlier image releases fixed Modrinth packs that require server-side mods, corrected STOP_SERVER_DELAY_COMMAND, and updated the bundled Minecraft helper tools. It retains native PREFER_IPv6 and custom SERVER_RUNNER support. Configure the first two features with server.preferIPv6 and server.runner. Review the 2026.11.1 release. Review the upstream release notes before upgrading production servers, take a world backup, and verify plugins, mods, datapacks, proxy settings, and pinned server.version values in a staging environment before reusing existing PVCs.

Security Scan

Security Scan: Kubescape local scan against MITRE,NSA,SOC2 reports a 78.79% resource summary score.

Mods & Plugins

KeyDefaultDescription
mods.genericPacks""Generic pack URLs or OCI references, applied in order
mods.genericPacksOciAuthFile""Registry auth file path for private OCI packs
mods.modrinthProjects""Modrinth project slugs (comma-separated)
mods.curseforgeApiKey""CurseForge API key
mods.autoCurseforgeSlug""Auto CurseForge modpack slug
mods.spigetResources""Spiget resource IDs
mods.downloadUrls""Direct plugin/mod download URLs, including platform-specific Paper plugins not available through Modrinth

Resource Pack

KeyDefaultDescription
resourcePack.url""Resource pack URL
resourcePack.sha1""SHA-1 hash for verification
resourcePack.enforcefalseForce clients to accept

Services (Dual-Stack)

KeyDefaultDescription
service.typeLoadBalancerGame service type
service.port25565Game port
service.ipFamilyPolicy~Dual-stack policy (SingleStack, PreferDualStack, RequireDualStack)
service.ipFamilies[]IP families (IPv4, IPv6)

External Secrets Operator

KeyDefaultDescription
externalSecrets.enabledfalseRender an ExternalSecret for the RCON password
externalSecrets.apiVersionexternal-secrets.io/v1ESO API version
externalSecrets.refreshInterval"0"Refresh interval ("0" = create-once bootstrap)
externalSecrets.secretStoreRef.name""SecretStore / ClusterSecretStore name — required
externalSecrets.secretStoreRef.kindSecretStoreStore kind
externalSecrets.data[]Data mappings — must include entry with secretKey matching rcon.existingSecretKey

externalSecrets.enabled=true with rcon.enabled=true requires rcon.existingSecret to prevent credential drift.

Scheduling

KeyDefaultDescription
nodeSelector{}Node selector
tolerations[]Tolerations
affinity{}Affinity rules
topologySpreadConstraints[]Topology spread
priorityClassName""Priority class
terminationGracePeriodSeconds120Shutdown grace period

Security

ParameterDefaultDescription
automountServiceAccountTokenfalseMount a Kubernetes API token in the server pod
podSecurityContext.fsGroup1000Filesystem group for persistent data
podSecurityContext.fsGroupChangePolicyAlwaysRecursively repair ownership, including files created by older releases
podSecurityContext.seccompProfile.typeRuntimeDefaultSeccomp profile for the pod
securityContext.runAsUser1000UID for the server process
securityContext.runAsGroup1000GID for the server process
securityContext.runAsNonRoottrueRequire a non-root server process
securityContext.allowPrivilegeEscalationfalsePrevent privilege escalation
securityContext.readOnlyRootFilesystemtrueKeep the image filesystem read-only; /data and /tmp remain writable volumes
securityContext.capabilities.drop[ALL]Linux capabilities removed from the server process

Upgrades from releases that stored partial security-context maps are supported with both --reset-values and --reuse-values. The chart merges missing hardening defaults while retaining explicit per-key operator overrides. Custom images must support UID/GID 1000 and a read-only root filesystem, or provide matching context overrides.

Resources Generated

ResourceConditionDescription
DeploymentAlwaysMinecraft server (single replica, Recreate strategy)
ServiceAlwaysGame port (LoadBalancer by default)
Service (RCON)rcon.serviceEnabledRCON port (ClusterIP)
PersistentVolumeClaimpersistence.enabledServer data volume
Secretrcon.enabled and no `existingSecr

Deploy minecraft with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has minecraft 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 chartminecraft is pinned at v1.5.10 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