mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add a minecraft server chart
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
name: minecraft
|
||||
home: https://minecraft.net/
|
||||
version: 1.0.0
|
||||
description: A minecraft server
|
||||
maintainers:
|
||||
- Ben Barclay <benbarclay@gmail.com>
|
||||
details: |-
|
||||
Minecraft is a moderately popular game involving the collection, moving and
|
||||
re-assembling of raw materials. It may be an elaborate parody of the
|
||||
Australian economy.
|
||||
@@ -0,0 +1,3 @@
|
||||
# minecraft
|
||||
|
||||
This will run a minecraft server.
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: minecraft
|
||||
labels:
|
||||
heritage: helm
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 25565
|
||||
targetPort: 25565
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: minecraft
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ReplicationController
|
||||
metadata:
|
||||
name: minecraft-controller
|
||||
labels:
|
||||
heritage: helm
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
app: minecraft
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
heritage: helm
|
||||
app: minecraft
|
||||
scalable: false
|
||||
spec:
|
||||
containers:
|
||||
- name: minecraft
|
||||
image: "itzg/minecraft-server:latest"
|
||||
ports:
|
||||
- containerPort: 25565
|
||||
env:
|
||||
- name: EULA
|
||||
value: "TRUE"
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: minecraft-data
|
||||
volumes:
|
||||
- name: minecraft-data
|
||||
emptyDir: {}
|
||||
Reference in New Issue
Block a user