K3s-cluster/minecraft/service.yaml

12 lines
171 B
YAML

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