2022-05-10 23:24:04 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: minecraft
|
2022-05-13 23:19:42 +00:00
|
|
|
labels:
|
|
|
|
app: traefiklabs
|
2022-05-10 23:24:04 +00:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: minecraft
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: minecraft
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: minecraft
|
|
|
|
image: itzg/minecraft-server
|
|
|
|
ports:
|
|
|
|
- containerPort: 25565
|
|
|
|
protocol: UDP
|
|
|
|
env:
|
|
|
|
- name: EULA
|
|
|
|
value: "TRUE"
|