set namespace to minecraft

This commit is contained in:
ducoterra
2020-01-18 11:15:00 -05:00
parent f59775dfa8
commit 6264d75f96
3 changed files with 6 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: minecraft-1-15-1
namespace: minecraft
spec:
selector:
matchLabels:
@@ -23,7 +24,7 @@ spec:
stdin: true
env:
- name: MAX_RAM
value: "2"
value: "4"
- name: MIN_RAM
value: "1"
- name: THREADS
@@ -33,8 +34,8 @@ spec:
memory: 1Mi
cpu: 1m
limits:
memory: "2Gi"
cpu: "2"
memory: "4Gi"
cpu: "4"
volumes:
- name: data
persistentVolumeClaim:

View File

@@ -2,6 +2,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: minecraft-1-15-1
namespace: minecraft
spec:
storageClassName: local-path
accessModes:

View File

@@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: minecraft-1-15-1
namespace: minecraft
spec:
selector:
app: minecraft-1-15-1