minecraft-server

by QuMine

Helm chartv0.1.1500App v0.1.15

Docker Minecraft Server image with support for Plugins etc.

About this chart

minecraft-server

Minecraft Server is a docker container that wrapps the process of starting and upgrading minecraft servers.

TL;DR

$ helm repo add qumine https://qumine.github.io/charts
$ helm install my-server qumine/minecraft-server

Prerequisites

  • Kubernetes 1.12+
  • Helm 3.0-beta3+

Installing the Chart

To install the chart with the release name my-server:

$ helm install my-server qumine/minecraft-server

The command deploys qumine-server on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-server deployment:

$ helm delete my-server

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

The following table lists the configurable parameters of the minecraft-server chart and their default values.

ParameterDescriptionDefault
global.imageRegistryGlobal Docker image registrynil
global.imagePullSecretsGlobal Docker registry secret names as an array[] (does not add image pull secrets to deployed pods)
image.registryQuMine-Server image registrydocker.io
image.repositoryQuMine-Server Image namequmine/minecraft-server
image.tagQuMine-Server Image tag{TAG_NAME}
image.pullPolicyQuMine-Server image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[] (does not add image pull secrets to deployed pods)
nameOverrideString to partially override qumine.fullname template with a string (will prepend the release name)nil
fullnameOverrideString to fully override qumine.fullname template with a stringnil
extraArgsExtra arguments to be passed to qumine{}
extraEnvExtra environment variables to be passed to qumine[]
replicasDesired number of QuMine-Server replicas1
affinityAffinity for pod assignment (this value is evaluated as a template){}
nodeSelectorNode labels for pod assignment (this value is evaluated as a template){}
tolerationsTolerations for pod assignment (this value is evaluated as a template)[]
podAnnotationsAdditional annotations to apply to the pod.{}
podLabelsAdditional labels to be added to pods{}
podSecurityContext.fsGroupGroup ID for the container1001
podSecurityContext.runAsUserUser ID for the container1001
priorityClassNamepriorityClassName""
securityContextSecurity context for the container{}
service.typeKubernetes Service typeClusterIP
service.portQuMine-Server client port7979
service.nodePortPort to bind to for NodePort service type (client port)nil
service.clusterIPIP address to assign to service""
service.externalIPsService external IP addresses[]
service.loadBalancerIPIP address to assign to load balancer (if supported)""
service.loadBalancerSourceRangesList of IP CIDRs allowed access to load balancer (if supported)[]
service.annotationsAnnotations to add to service{}
service.labelsLabels to add to service{}
serviceAccount.createDetermine whether a Service Account should be created or it should reuse a exiting one.true
serviceAccount.nameServiceAccount to use. A name is generated using the qumine.fullname template if it is not setnil
serviceAccount.annotationsAdditional Service Account annotations{}
resourcesCPU/Memory resource requests/limits.{}
livenessProbeDeployment Liveness ProbeSee values.yaml
readinessProbeDeployment Readiness ProbeSee values.yaml
extraVolumesA list of volumes to be added to the pod[]
extraVolumeMountsA list of volume mounts to be added to the pod[]
integrations.metrics.enabledEnable prometheus to access qumine metrics endpointfalse
integrations.metrics.podAnnotationsAnnotations for enabling prometheus to access the metrics endpoint

Deploy minecraft-server with OpenTenant

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