mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2026-03-22 04:19:48 +00:00
minecraft added
This commit is contained in:
42
roles/minecraft/files/minecraft-deployment.yaml
Normal file
42
roles/minecraft/files/minecraft-deployment.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: minecraft
|
||||
namespace: minecraft
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: minecraft
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: minecraft
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 1013
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
containers:
|
||||
- name: minecraft
|
||||
image: itzg/minecraft-bedrock-server
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 5Gi
|
||||
ports:
|
||||
- containerPort: 19132
|
||||
name: UDP
|
||||
env:
|
||||
- name: EULA
|
||||
value: "TRUE"
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: minecraft-data-pvc
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user