98 lines
2.1 KiB
YAML
98 lines
2.1 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: kiki-mc-world
|
|
namespace: minecraft
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
storageClassName: local-path
|
|
resources:
|
|
requests:
|
|
storage: 5Gi
|
|
---
|
|
apiVersion: helm.cattle.io/v1
|
|
kind: HelmChart
|
|
metadata:
|
|
name: kiki-minecraft
|
|
namespace: kube-system
|
|
spec:
|
|
targetNamespace: minecraft
|
|
repo: https://itzg.github.io/minecraft-server-charts/
|
|
chart: minecraft
|
|
valuesContent: |-
|
|
image:
|
|
repository: itzg/minecraft-server
|
|
tag: latest
|
|
pullPolicy: Always
|
|
replicaCount: 1
|
|
resources:
|
|
requests:
|
|
memory: 2000Mi
|
|
cpu: 1000m
|
|
strategyType: Recreate
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
securityContext:
|
|
runAsUser: 1000
|
|
fsGroup: 1000
|
|
livenessProbe:
|
|
command:
|
|
- mc-health
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 5
|
|
failureThreshold: 20
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
readinessProbe:
|
|
command:
|
|
- mc-health
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 5
|
|
failureThreshold: 20
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
startupProbe:
|
|
command:
|
|
- mc-health
|
|
enabled: false
|
|
failureThreshold: 30
|
|
periodSeconds: 10
|
|
extraVolumes: []
|
|
minecraftServer:
|
|
eula: "TRUE"
|
|
wersion: "latest"
|
|
type: "VANILLA"
|
|
difficulty: normal
|
|
whitelist: cjriddz,k359
|
|
ops: cjriddz,k359
|
|
maxWorldSize: 15000
|
|
viewDistance: 16
|
|
motd: "good morning :)"
|
|
pvp: false
|
|
levelType: DEFAULT
|
|
worldSaveName: world
|
|
forceReDownload: false
|
|
memory: 2000M
|
|
serviceAnnotations: {}
|
|
serviceType: LoadBalancer
|
|
servicePort: 25566
|
|
clusterIP:
|
|
loadBalancerIP:
|
|
externalIPs:
|
|
query:
|
|
enabled: false
|
|
port: 25566
|
|
rcon:
|
|
enabled: true
|
|
withGeneratedPassword: true
|
|
envFrom: []
|
|
|
|
persistence:
|
|
annotations: {}
|
|
storageClass: "longhorn"
|
|
dataDir:
|
|
enabled: true
|
|
existingClaim: kiki-mc-world
|