forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminecraft-creative.yaml
93 lines (93 loc) · 2.96 KB
/
minecraft-creative.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: mc
namespace: default
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://itzg.github.io/minecraft-server-charts/
chart: minecraft
version: 4.3.0
sourceRef:
kind: HelmRepository
name: minecraft-server-charts
namespace: flux-system
interval: 5m
values:
image:
repository: itzg/minecraft-server
tag: 2022.12.0-java17
strategyType: Recreate
persistence:
storageClass: "rook-ceph-block"
dataDir:
enabled: true
Size: 10Gi
resources:
requests:
memory: 6Gi
cpu: 250m
limits:
memory: 7Gi
livenessProbe:
initialDelaySeconds: 30
periodSeconds: 5
failureThreshold: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
initialDelaySeconds: 30
periodSeconds: 5
failureThreshold: 10
successThreshold: 1
timeoutSeconds: 1
startupProbe:
enabled: true
failureThreshold: 30
periodSeconds: 10
podAnnotations:
backup.velero.io/backup-volumes: datadir
extraEnv:
MODS: "https://github.com/EssentialsX/Essentials/releases/download/2.19.7/EssentialsX-2.19.7.jar"
ENABLE_AUTOPAUSE: FALSE
SPIGET_RESOURCES: "102931"
minecraftServer:
eula: "TRUE"
version: "LATEST"
type: PAPER
forceReDownload: true
jvmOpts: "-Xms6G -Xmx6G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true"
memory: 6144M
difficulty: normal
maxTickTime: -1
serviceType: LoadBalancer
gameMode: creative
motd: "\u00a7feviljungle\u00a7 - \u00a7a\u00a7lcreative\u00a7"
icon: https://www.freeiconspng.com/uploads/minecraft-server-icon-13.png
loadBalancerIP: 10.0.6.101
rcon:
enabled: false
port: 25575
password: "mc-rcon"
serviceType: LoadBalancer
extraPorts:
- name: map
containerPort: 8123
service:
enabled: true
type: ClusterIP
port: 8123
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16"
hosts:
- name: mc-map.eviljungle.com
path: /
tls:
- hosts:
- mc-map.eviljungle.com