K3s-cluster/minecraft/service.yaml

13 lines
170 B
YAML
Raw Permalink Normal View History

2022-05-10 23:24:04 +00:00
apiVersion: v1
kind: Service
metadata:
2022-05-15 16:57:30 +00:00
name: minecraft-svc-tcp
2022-05-10 23:24:04 +00:00
spec:
2022-05-15 16:57:30 +00:00
type: ClusterIP
2022-05-10 23:24:04 +00:00
ports:
2022-05-15 16:57:30 +00:00
- protocol: TCP
2022-05-10 23:24:04 +00:00
port: 25565
selector:
2022-05-15 16:57:30 +00:00
app: minecraft