K3s-cluster/minecraft/service.yaml

14 lines
190 B
YAML

apiVersion: v1
kind: Service
metadata:
name: minecraft
spec:
ports:
- name: minecraft-udp
port: 25565
protocol: UDP
selector:
app: traefiklabs
task: minecraft