This repository has been archived by the owner on Apr 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
values.yaml
200 lines (178 loc) · 6.91 KB
/
values.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
global:
nameOverride: "multipaper"
# Defines the service account for all running instanes
serviceAccount:
# Specifies whether a service account should be created
create: true
# The name of the service account to use.
# When empty the full name of the Helm deployment would be used.
name: ""
# MultiPaper master server
master:
# The id of the group that will be running the master server process.
# By default this is 1001, multipaper user.
# Image dependant.
gid: 1001
# The id of the user that will be running the master server process.
# By default this is 1001, multipaper user.
# Image dependant.
uid: 1001
# Built-in Proxy settings
proxy:
enabled: true
service:
# Type can be ClusterIP or NodePort
type: NodePort
# Port on which the MultiPaper master proxy server is listening.
port: 25565
# Target port to which the proxy service should be mapped to.
targetPort: 25565
image:
repository: "remcospigot/multipaper-master"
# Tag of the Docker image to be used.
# Defaults to the Chart's app version if left blank.
tag: "2.8.8"
pullPolicy: IfNotPresent
# Configure the Update Strategy Type for the StatefulSet
# See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
updateStrategyType: "RollingUpdate"
resources: {}
# resources:
# requests:
# memory: 256Mi
# cpu: 2
# limits:
# memory: 512Mi
# cpu: 4
service:
# Port on which the MultiPaper master server is listening.
port: 35353
# Target port to which the master service should be mapped to
targetPort: 35353
# Section for startup, readiness and liveness probes
probes:
# Probe used to weed out slow pods
startupProbe:
enabled: true
# When a probe fails, Kubernetes will try failureThreshold times before giving up.
# After this it will restart the container.
failureThreshold: 3
# How often (in seconds) to perform the probe.
periodSeconds: 1
# Probe used to define whether a pod is ready or not
readinessProbe:
enabled: true
# Number of seconds after the container has started before liveness or readiness probes are initiated.
initialDelaySeconds: 5
# How often (in seconds) to perform the probe.
periodSeconds: 2
# When a probe fails, Kubernetes will try failureThreshold times before giving up.
# After this it will mark the Pod as Unready
failureThreshold: 3
# Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 2
# Number of seconds after which the probe times out and ultimately fails.
timeoutSeconds: 1
# Probe used to verify whether a pod is still running succesfully
livenessProbe:
enabled: true
# Number of seconds after the container has started before liveness or readiness probes are initiated.
initialDelaySeconds: 5
# How often (in seconds) to perform the probe.
periodSeconds: 2
# When a probe fails, Kubernetes will try failureThreshold times before giving up.
# After this it will restart the container.
failureThreshold: 3
# Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 1
# Number of seconds after which the probe times out and ultimately fails.
timeoutSeconds: 1
# Own control over persistent volumes.
# Normally this would hold non arbitrary values that are templated,
# but since Minecraft can have other worlds, we decided not to.
persistent:
# Defines Volumes (https://kubernetes.io/docs/concepts/storage/volume) to be linked to the master.
# Persists all the files synced to the master.
volumeMounts:
- name: "data"
mountPath: "/multipaper/data"
# Template for Persistent Volume Claims (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims)
# This setup automatically creates Persistent Volumes for you, if no Persistent Volume is found.
claimTemplates:
- metadata:
name: "data"
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: null
resources:
requests:
storage: "30Gi"
labels: {}
# MultiPaper server
server:
# The id of the group that will be running the MultiPaper server process.
# By default this is 1001, multipaper user.
# Image dependant.
gid: 1001
# The id of the user that will be running the MultiPaper server process.
# By default this is 1001, multipaper user.
# Image dependant.
uid: 1001
image:
repository: "remcospigot/multipaper"
# Tag of the Docker image to be used.
# Defaults to the Chart's app version if left blank.
tag: "1.18.2-95"
pullPolicy: IfNotPresent
resources: {}
# resources:
# requests:
# memory: 10Gi
# cpu: 6
# limits:
# memory: 10Gi
# cpu: 6
service:
# Port on which the MultiPaper master server is listening.
port: 25565
# Target port to which the service should be mapped to.
targetPort: 25565
# Section for startup, readiness and liveness probes
probes:
# Probe used to weed out slow pods
startupProbe:
enabled: true
# When a probe fails, Kubernetes will try failureThreshold times before giving up.
# After this it will restart the container.
failureThreshold: 3
# How often (in seconds) to perform the probe.
periodSeconds: 20
# Probe used to define whether a pod is ready or not
readinessProbe:
enabled: true
# Number of seconds after the container has started before liveness or readiness probes are initiated.
initialDelaySeconds: 40
# How often (in seconds) to perform the probe.
periodSeconds: 5
# When a probe fails, Kubernetes will try failureThreshold times before giving up.
# After this it will mark the Pod as Unready
failureThreshold: 5
# Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 2
# Number of seconds after which the probe times out and ultimately fails.
timeoutSeconds: 1
# Probe used to verify whether a pod is still running succesfully
livenessProbe:
enabled: true
# Number of seconds after the container has started before liveness or readiness probes are initiated.
initialDelaySeconds: 40
# How often (in seconds) to perform the probe.
periodSeconds: 5
# When a probe fails, Kubernetes will try failureThreshold times before giving up.
# After this it will restart the container.
failureThreshold: 5
# Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold: 1
# Number of seconds after which the probe times out and ultimately fails.
timeoutSeconds: 1
labels: {}