diff --git a/k8s/deploy.yaml b/k8s/deploy.yaml index 0a6eb88..9893304 100644 --- a/k8s/deploy.yaml +++ b/k8s/deploy.yaml @@ -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: diff --git a/k8s/pvc/pvc.yaml b/k8s/pvc/pvc.yaml index 5fc77b6..7c6bcb8 100644 --- a/k8s/pvc/pvc.yaml +++ b/k8s/pvc/pvc.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: minecraft-1-15-1 + namespace: minecraft spec: storageClassName: local-path accessModes: diff --git a/k8s/service.yaml b/k8s/service.yaml index bc9ef5f..c1803e3 100644 --- a/k8s/service.yaml +++ b/k8s/service.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: minecraft-1-15-1 + namespace: minecraft spec: selector: app: minecraft-1-15-1