switch to ducoterra namespace

This commit is contained in:
ducoterra
2020-03-15 12:23:57 -04:00
parent 8bdae44e23
commit 0c75d914c1
7 changed files with 20 additions and 19 deletions

View File

@@ -11,3 +11,7 @@ kubectl cp <pod_name>:/mc_data <backup>
```bash
kubectl cp <backup> <pod_name>:/mc_data
```
## Cool seed
amplified, -8018833100564192815

View File

@@ -1,9 +1,9 @@
version: '3'
services:
mc:
minecraft:
build: .
image: ducoterra/minecraft_1.15.1:0.0.8
image: hub.ducoterra.net/ducoterra/minecraft:20w11a.2
ports:
- 25565:25565
volumes:

View File

@@ -1,20 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: minecraft-1-15-1
namespace: minecraft
name: minecraft
spec:
selector:
matchLabels:
app: minecraft-1-15-1
app: minecraft
template:
metadata:
labels:
app: minecraft-1-15-1
app: minecraft
spec:
containers:
- name: minecraft-1-15-1
image: ducoterra/minecraft_1.15.1:0.0.8
- name: minecraft
image: hub.ducoterra.net/ducoterra/minecraft:20w11a.2
ports:
- containerPort: 25565
volumeMounts:
@@ -31,12 +30,12 @@ spec:
value: "4"
resources:
requests:
memory: 1Mi
cpu: 1m
memory: "2Gi"
cpu: 250m
limits:
memory: "4Gi"
cpu: "4"
volumes:
- name: data
persistentVolumeClaim:
claimName: minecraft-1-15-1
claimName: minecraft

View File

@@ -1,12 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: minecraft-1-15-1
namespace: minecraft
name: minecraft
spec:
storageClassName: local-path
storageClassName: nfs-encrypted
accessModes:
- ReadWriteOnce
- ReadWriteMany
resources:
requests:
storage: 64Gi

View File

@@ -1,11 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: minecraft-1-15-1
namespace: minecraft
name: minecraft
spec:
selector:
app: minecraft-1-15-1
app: minecraft
ports:
- port: 25565
targetPort: 25565

Binary file not shown.

View File

@@ -13,7 +13,7 @@ spawn-monsters=true
op-permission-level=4
pvp=true
snooper-enabled=true
level-type=amplified
level-type=default
hardcore=false
enable-command-block=false
max-players=20