Files
kubernetes/namespaces/minecraft/minecraft-service.yml
2023-10-19 15:53:26 -04:00

16 lines
282 B
YAML

apiVersion: v1
kind: Service
metadata:
name: minecraft
annotations:
metallb.universe.tf/allow-shared-ip: minecraft
spec:
selector:
app: minecraft
ports:
- protocol: TCP
port: 25565
targetPort: 25565
type: LoadBalancer
loadBalancerIP: 192.168.1.4