switch to ducoterra namespace
This commit is contained in:
@@ -11,3 +11,7 @@ kubectl cp <pod_name>:/mc_data <backup>
|
|||||||
```bash
|
```bash
|
||||||
kubectl cp <backup> <pod_name>:/mc_data
|
kubectl cp <backup> <pod_name>:/mc_data
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Cool seed
|
||||||
|
|
||||||
|
amplified, -8018833100564192815
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mc:
|
minecraft:
|
||||||
build: .
|
build: .
|
||||||
image: ducoterra/minecraft_1.15.1:0.0.8
|
image: hub.ducoterra.net/ducoterra/minecraft:20w11a.2
|
||||||
ports:
|
ports:
|
||||||
- 25565:25565
|
- 25565:25565
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,20 +1,19 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: minecraft-1-15-1
|
name: minecraft
|
||||||
namespace: minecraft
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: minecraft-1-15-1
|
app: minecraft
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: minecraft-1-15-1
|
app: minecraft
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: minecraft-1-15-1
|
- name: minecraft
|
||||||
image: ducoterra/minecraft_1.15.1:0.0.8
|
image: hub.ducoterra.net/ducoterra/minecraft:20w11a.2
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 25565
|
- containerPort: 25565
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@@ -31,12 +30,12 @@ spec:
|
|||||||
value: "4"
|
value: "4"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 1Mi
|
memory: "2Gi"
|
||||||
cpu: 1m
|
cpu: 250m
|
||||||
limits:
|
limits:
|
||||||
memory: "4Gi"
|
memory: "4Gi"
|
||||||
cpu: "4"
|
cpu: "4"
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: minecraft-1-15-1
|
claimName: minecraft
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: minecraft-1-15-1
|
name: minecraft
|
||||||
namespace: minecraft
|
|
||||||
spec:
|
spec:
|
||||||
storageClassName: local-path
|
storageClassName: nfs-encrypted
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteMany
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 64Gi
|
storage: 64Gi
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: minecraft-1-15-1
|
name: minecraft
|
||||||
namespace: minecraft
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: minecraft-1-15-1
|
app: minecraft
|
||||||
ports:
|
ports:
|
||||||
- port: 25565
|
- port: 25565
|
||||||
targetPort: 25565
|
targetPort: 25565
|
||||||
|
|||||||
Binary file not shown.
@@ -13,7 +13,7 @@ spawn-monsters=true
|
|||||||
op-permission-level=4
|
op-permission-level=4
|
||||||
pvp=true
|
pvp=true
|
||||||
snooper-enabled=true
|
snooper-enabled=true
|
||||||
level-type=amplified
|
level-type=default
|
||||||
hardcore=false
|
hardcore=false
|
||||||
enable-command-block=false
|
enable-command-block=false
|
||||||
max-players=20
|
max-players=20
|
||||||
|
|||||||
Reference in New Issue
Block a user