Skip to content

Commit 541817b

Browse files
author
shokohsc
committed
(hotfix): extra volumes
1 parent 987e057 commit 541817b

File tree

12 files changed

+316
-234
lines changed

12 files changed

+316
-234
lines changed

charts/minecraft-bedrock/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: minecraft-bedrock
3-
version: 1.1.9
3+
version: 1.1.10
44
appVersion: 1.16
55
home: https://minecraft.net/
66
description: Minecraft server

charts/minecraft-bedrock/README.md

+69-82
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,69 @@
1-
# Minecraft
2-
3-
[Minecraft](https://minecraft.net/en/) is a game about placing blocks and going on adventures.
4-
5-
## Introduction
6-
7-
This chart creates a single [Minecraft Bedrock Server](https://www.minecraft.net/en-us/download/server/bedrock/) Pod, plus Services for the Minecraft server.
8-
9-
## Prerequisites
10-
11-
- 512 MB of RAM
12-
- Kubernetes 1.4+ with Beta APIs enabled
13-
- PV provisioner support in the underlying infrastructure
14-
15-
## Installing the Chart
16-
17-
To install the chart with the release name `minecraft`, read the [Minecraft EULA](https://account.mojang.com/documents/minecraft_eula) run:
18-
19-
```shell
20-
helm install minecraft-bedrock \
21-
--set minecraftServer.eula=true itzg/minecraft
22-
```
23-
24-
This command deploys a Minecraft dedicated server with sensible defaults.
25-
26-
> **Tip**: List all releases using `helm list`
27-
28-
## Uninstalling the Chart
29-
30-
To uninstall/delete the `minecraft-bedrock` deployment:
31-
32-
```shell
33-
helm delete minecraft-bedrock
34-
```
35-
36-
The command removes all the Kubernetes components associated with the chart and deletes the release.
37-
38-
## Configuration
39-
40-
Refer to [values.yaml](values.yaml) for the full run-down on defaults. These are a mixture of Kubernetes and Minecraft-related directives that map to environment variables in the [itzg/minecraft-bedrock-server](https://hub.docker.com/r/itzg/minecraft-bedrock-server/) Docker image.
41-
42-
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
43-
44-
```shell
45-
helm install --name minecraft-bedrock \
46-
--set minecraftServer.eula=true,minecraftServer.Difficulty=hard \
47-
itzg/minecraft
48-
```
49-
50-
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
51-
52-
```shell
53-
helm install --name minecraft -f values.yaml itzg/minecraft
54-
```
55-
56-
> **Tip**: You can use the default [values.yaml](values.yaml)
57-
58-
## Persistence
59-
60-
The [itzg/minecraft-bedrock-server](https://hub.docker.com/r/itzg/minecraft-bedrock-server/) image stores the saved games and mods under /data.
61-
62-
By default a PersistentVolumeClaim is created and mounted for saves but not mods. In order to disable this functionality
63-
you can change the values.yaml to disable persistence under the sub-sections under `persistence`.
64-
65-
> *"An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node. When a Pod is removed from a node for any reason, the data in the emptyDir is deleted forever."*
66-
67-
## Backups
68-
69-
You can backup the state of your minecraft server to your local machine via the `kubectl cp` command.
70-
71-
```shell
72-
NAMESPACE=default
73-
POD_ID=lionhope-387ff8d-sdis9
74-
kubectl attach --namespace ${NAMESPACE} ${POD_ID} -it
75-
save hold
76-
save query
77-
^P + ^Q (CtrlP and CtrlQ)
78-
kubectl cp ${NAMESPACE}/${POD_ID}:/data .
79-
kubectl attach --namespace ${NAMESPACE} ${POD_ID} -it
80-
save resume
81-
^P + ^Q (CtrlP and CtrlQ)
82-
```
1+
# minecraft-bedrock
2+
3+
![Version: 1.1.10](https://img.shields.io/badge/Version-1.1.10-informational?style=flat-square) ![AppVersion: 1.16](https://img.shields.io/badge/AppVersion-1.16-informational?style=flat-square)
4+
5+
Minecraft server
6+
7+
**Homepage:** <https://minecraft.net/>
8+
9+
## Maintainers
10+
11+
| Name | Email | Url |
12+
| ---- | ------ | --- |
13+
| gtaylor | [email protected] | |
14+
| billimek | [email protected] | |
15+
| itzg | [email protected] | |
16+
17+
## Source Code
18+
19+
* <https://github.com/itzg/minecraft-server-charts>
20+
21+
## Values
22+
23+
| Key | Type | Default | Description |
24+
|-----|------|---------|-------------|
25+
| affinity | object | `{}` | |
26+
| deploymentAnnotations | object | `{}` | |
27+
| extraEnv | object | `{}` | |
28+
| image | string | `"itzg/minecraft-bedrock-server"` | |
29+
| imagePullSecret | string | `""` | |
30+
| imageTag | string | `"latest"` | |
31+
| initContainers | list | `[]` | |
32+
| livenessProbe.initialDelaySeconds | int | `30` | |
33+
| minecraftServer.cheats | bool | `false` | |
34+
| minecraftServer.defaultPermission | string | `"member"` | |
35+
| minecraftServer.difficulty | string | `"easy"` | |
36+
| minecraftServer.eula | string | `"FALSE"` | |
37+
| minecraftServer.gameMode | string | `"survival"` | |
38+
| minecraftServer.levelName | string | `"level"` | |
39+
| minecraftServer.levelSeed | string | `nil` | |
40+
| minecraftServer.levelType | string | `"DEFAULT"` | |
41+
| minecraftServer.loadBalancerIP | string | `nil` | |
42+
| minecraftServer.maxPlayers | int | `10` | |
43+
| minecraftServer.maxThreads | int | `8` | |
44+
| minecraftServer.members | string | `nil` | |
45+
| minecraftServer.onlineMode | bool | `true` | |
46+
| minecraftServer.ops | string | `nil` | |
47+
| minecraftServer.playerIdleTimeout | int | `30` | |
48+
| minecraftServer.serverName | string | `"Dedicated Server"` | |
49+
| minecraftServer.serviceType | string | `"ClusterIP"` | |
50+
| minecraftServer.texturepackRequired | bool | `false` | |
51+
| minecraftServer.tickDistance | int | `4` | |
52+
| minecraftServer.version | string | `"LATEST"` | |
53+
| minecraftServer.viewDistance | int | `10` | |
54+
| minecraftServer.visitors | string | `nil` | |
55+
| minecraftServer.whitelist | string | `nil` | |
56+
| minecraftServer.whitelistUsers | string | `nil` | |
57+
| nodeSelector | object | `{}` | |
58+
| persistence.dataDir.Size | string | `"1Gi"` | |
59+
| persistence.dataDir.enabled | bool | `false` | |
60+
| podAnnotations | object | `{}` | |
61+
| readinessProbe.initialDelaySeconds | int | `30` | |
62+
| resources.requests.cpu | string | `"500m"` | |
63+
| resources.requests.memory | string | `"512Mi"` | |
64+
| serviceAnnotations | object | `{}` | |
65+
| strategyType | string | `"Recreate"` | |
66+
| tolerations | list | `[]` | |
67+
68+
----------------------------------------------
69+
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

charts/minecraft-bedrock/ci/test-values.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@
22
minecraftServer:
33
eula: "TRUE"
44
# fix in place and rebased
5+
extraVolumes:
6+
- name: test
7+
emptyDir: {}
8+
extraVolumeMounts:
9+
- name: test
10+
mountPath: /test

charts/minecraft-bedrock/templates/deployment.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ spec:
123123
volumeMounts:
124124
- name: datadir
125125
mountPath: /data
126-
{{- range .Values.extraVolumes }}
127-
{{- toYaml .volumeMounts | nindent 8 }}
126+
{{- if .Values.extraVolumeMounts }}
127+
{{- toYaml .Values.extraVolumeMounts | nindent 8 }}
128128
{{- end }}
129129
volumes:
130130
- name: datadir
@@ -138,8 +138,8 @@ spec:
138138
{{- else }}
139139
emptyDir: {}
140140
{{- end }}
141-
{{- range .Values.extraVolumes }}
142-
{{- toYaml .volumes | nindent 6 }}
141+
{{- if .Values.extraVolumes }}
142+
{{- toYaml .Values.extraVolumes | nindent 6 }}
143143
{{- end }}
144144
{{- if .Values.nodeSelector }}
145145
nodeSelector:

charts/minecraft-bedrock/values.yaml

+11-13
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,18 @@ readinessProbe:
3737
# readOnly: true
3838
initContainers: []
3939

40+
# extraVolumeMounts:
41+
# - name: nfs
42+
# mountPath: /mnt/volume
43+
# readOnly: true
4044
# extraVolumes:
41-
# - volumeMounts:
42-
# - name: nfs
43-
# mountPath: /mnt/volume
44-
# readOnly: true
45-
# volumes:
46-
# - name: nfs
47-
# server: some.nfs.server.com
48-
# path: /
49-
# mountOptions:
50-
# - port=2049
51-
# - hard
52-
# - vers=4
53-
extraVolumes: []
45+
# - name: nfs
46+
# server: some.nfs.server.com
47+
# path: /
48+
# mountOptions:
49+
# - port=2049
50+
# - hard
51+
# - vers=4
5452

5553
minecraftServer:
5654
# This must be overridden, since we can't accept this for the user.

charts/minecraft-proxy/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: minecraft-proxy
3-
version: 2.0.3
3+
version: 2.0.4
44
appVersion: SeeValues
55
description: Minecraft proxy server (BungeeCord, Waterfall, Velocity, etc.)
66
keywords:

charts/minecraft-proxy/README.md

+82-37
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,82 @@
1-
# Minecraft Proxy
2-
3-
[Minecraft](https://minecraft.net/en/) proxies allows for a single server to become a network of seamlessly integrated servers.
4-
5-
[BungeeCord](https://www.spigotmc.org/wiki/about-bungeecord/) is the most well known solution in this arena, but [several](https://github.com/PaperMC/Waterfall) [other](https://github.com/PaperMC/Travertine) forks of BungeeCord and new projects such as [Velocity](https://velocitypowered.com/) have become popular choices.
6-
7-
This chart relies on the [itzg/bungeecord](https://hub.docker.com/r/itzg/bungeecord) container which supports BungeeCord, Waterfall, and Velocity out of the box. It is also designed to allow the use of any other custom proxies with some additional configuration.
8-
9-
## Introduction
10-
11-
This chart creates a single Proxy Pod, Services for the BungeeCord, server and RCON.
12-
13-
## Prerequisites
14-
15-
- 512 MB of RAM
16-
- Kubernetes 1.4+ with Beta APIs enabled
17-
- PV provisioner support in the underlying infrastructure
18-
19-
## Configuration
20-
21-
Refer to [values.yaml](values.yaml) for the full run-down on defaults. These are a mixture of Kubernetes and BungeeCord-related directives that map to environment variables in the [itzg/bungeecord](https://hub.docker.com/r/itzg/bungeecord/) Docker image.
22-
23-
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
24-
25-
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart.
26-
27-
> **Tip**: You can use the default [values.yaml](values.yaml)
28-
29-
## Persistence
30-
31-
The [itzg/bungeecord](https://hub.docker.com/r/itzg/bungeecord/) image stores config and state under `/server`.
32-
33-
When [persistence.dataDir.enabled in values.yaml](https://github.com/ArchitectSMP/charts/blob/main/bungee/values.yaml#L180) is set to true PersistentVolumeClaim is created and mounted. In order to enable this functionality
34-
you can change the values.yaml to enable persistence under the sub-sections under `persistence`.
35-
The config file for the server can be added to the persistent volume manually, or optionally, you can set it by amending the config file path (if your proxy type has a different config path) and pasting your config under [bungeecord.configFilePath and bungeeCord.config in values.yaml](https://github.com/ArchitectSMP/charts/blob/main/bungee/values.yaml#L103).
36-
37-
> *"If persistence is not enabled, an emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node. When a Pod is removed from a node for any reason, the data in the emptyDir is deleted forever."*
1+
# minecraft-proxy
2+
3+
![Version: 2.0.3](https://img.shields.io/badge/Version-2.0.3-informational?style=flat-square) ![AppVersion: SeeValues](https://img.shields.io/badge/AppVersion-SeeValues-informational?style=flat-square)
4+
5+
Minecraft proxy server (BungeeCord, Waterfall, Velocity, etc.)
6+
7+
**Homepage:** <https://github.com/itzg/minecraft-server-charts>
8+
9+
## Maintainers
10+
11+
| Name | Email | Url |
12+
| ---- | ------ | --- |
13+
| chipwolf | [email protected] | |
14+
| gtaylor | [email protected] | |
15+
| billimek | [email protected] | |
16+
| itzg | [email protected] | |
17+
18+
## Source Code
19+
20+
* <https://github.com/itzg/minecraft-server-charts>
21+
22+
## Values
23+
24+
| Key | Type | Default | Description |
25+
|-----|------|---------|-------------|
26+
| deploymentAnnotations | object | `{}` | |
27+
| extraEnv | object | `{}` | |
28+
| extraVolumes | list | `[]` | |
29+
| image | string | `"itzg/bungeecord"` | |
30+
| imagePullSecret | string | `""` | |
31+
| imageTag | string | `"latest"` | |
32+
| initContainers | list | `[]` | |
33+
| livenessProbe.failureThreshold | int | `10` | |
34+
| livenessProbe.initialDelaySeconds | int | `30` | |
35+
| livenessProbe.periodSeconds | int | `5` | |
36+
| livenessProbe.successThreshold | int | `1` | |
37+
| livenessProbe.timeoutSeconds | int | `1` | |
38+
| minecraftProxy.configFilePath | string | `"/server/config.yml"` | |
39+
| minecraftProxy.externalIPs | string | `nil` | |
40+
| minecraftProxy.jarFile | string | `nil` | |
41+
| minecraftProxy.jarRevision | string | `nil` | |
42+
| minecraftProxy.jarUrl | string | `nil` | |
43+
| minecraftProxy.jenkinsBaseUrl | string | `nil` | |
44+
| minecraftProxy.jenkinsJobId | string | `"lastStableBuild"` | |
45+
| minecraftProxy.jvmOpts | string | `""` | |
46+
| minecraftProxy.jvmXXOpts | string | `""` | |
47+
| minecraftProxy.loadBalancerIP | string | `nil` | |
48+
| minecraftProxy.memory | string | `"512M"` | |
49+
| minecraftProxy.onlineMode | bool | `true` | |
50+
| minecraftProxy.plugins | list | `[]` | |
51+
| minecraftProxy.rcon.enabled | bool | `false` | |
52+
| minecraftProxy.rcon.loadBalancerIP | string | `nil` | |
53+
| minecraftProxy.rcon.password | string | `"CHANGEME!"` | |
54+
| minecraftProxy.rcon.port | int | `25575` | |
55+
| minecraftProxy.rcon.serviceType | string | `"LoadBalancer"` | |
56+
| minecraftProxy.serviceAnnotations | object | `{}` | |
57+
| minecraftProxy.serviceType | string | `"ClusterIP"` | |
58+
| minecraftProxy.type | string | `"BUNGEECORD"` | |
59+
| minecraftProxy.velocityVersion | string | `"1.1.0"` | |
60+
| minecraftProxy.waterfallBuildId | string | `"latest"` | |
61+
| minecraftProxy.waterfallVersion | string | `"latest"` | |
62+
| persistence.dataDir.Size | string | `"1Gi"` | |
63+
| persistence.dataDir.enabled | bool | `false` | |
64+
| podAnnotations | object | `{}` | |
65+
| rconServiceAnnotations | object | `{}` | |
66+
| readinessProbe.failureThreshold | int | `10` | |
67+
| readinessProbe.initialDelaySeconds | int | `30` | |
68+
| readinessProbe.periodSeconds | int | `5` | |
69+
| readinessProbe.successThreshold | int | `1` | |
70+
| readinessProbe.timeoutSeconds | int | `1` | |
71+
| resources.requests.cpu | string | `"500m"` | |
72+
| resources.requests.memory | string | `"512Mi"` | |
73+
| securityContext.fsGroup | int | `2000` | |
74+
| securityContext.runAsGroup | int | `1000` | |
75+
| securityContext.runAsUser | int | `1000` | |
76+
| serviceAnnotations | object | `{}` | |
77+
| startupProbe.enabled | bool | `false` | |
78+
| startupProbe.failureThreshold | int | `30` | |
79+
| startupProbe.periodSeconds | int | `10` | |
80+
81+
----------------------------------------------
82+
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

charts/minecraft/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: minecraft
3-
version: 3.1.6
3+
version: 3.1.7
44
appVersion: SeeValues
55
home: https://minecraft.net/
66
description: Minecraft server

0 commit comments

Comments
 (0)