Update k8s/games/minecraft/deployments.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 20s
All checks were successful
Check with kubeconform / lint (push) Successful in 20s
This commit is contained in:
@@ -97,23 +97,6 @@ spec:
|
|||||||
|
|
||||||
terminationGracePeriodSeconds: 10
|
terminationGracePeriodSeconds: 10
|
||||||
containers:
|
containers:
|
||||||
- name: nginx
|
|
||||||
image: nginx:latest
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
memory: "64Mi"
|
|
||||||
cpu: "50m"
|
|
||||||
limits:
|
|
||||||
memory: "256Mi"
|
|
||||||
cpu: "200m"
|
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
volumeMounts:
|
|
||||||
- name: nginx-config
|
|
||||||
mountPath: /etc/nginx/nginx.conf
|
|
||||||
subPath: nginx.conf
|
|
||||||
- name: storage
|
|
||||||
mountPath: /mc
|
|
||||||
- name: minecraft
|
- name: minecraft
|
||||||
image: 'openjdk:8-jdk-alpine'
|
image: 'openjdk:8-jdk-alpine'
|
||||||
command: ["java"]
|
command: ["java"]
|
||||||
@@ -156,9 +139,29 @@ spec:
|
|||||||
- name: dynmap
|
- name: dynmap
|
||||||
containerPort: 8123
|
containerPort: 8123
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
- name: webstatus-mod
|
||||||
|
containerPort: 8080
|
||||||
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: storage
|
- name: storage
|
||||||
mountPath: /mc
|
mountPath: /mc
|
||||||
|
- name: nginx
|
||||||
|
image: nginx:latest
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "64Mi"
|
||||||
|
cpu: "50m"
|
||||||
|
limits:
|
||||||
|
memory: "256Mi"
|
||||||
|
cpu: "200m"
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
volumeMounts:
|
||||||
|
- name: nginx-config
|
||||||
|
mountPath: /etc/nginx/nginx.conf
|
||||||
|
subPath: nginx.conf
|
||||||
|
- name: storage
|
||||||
|
mountPath: /mc
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
Reference in New Issue
Block a user