mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-15 06:42:28 +00:00
17 lines
No EOL
313 B
YAML
17 lines
No EOL
313 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
service: mc
|
|
annotations: {}
|
|
# Such as
|
|
# mc-router.itzg.me/externalServerName: $(EXTERNAL_SERVICE_NAME)
|
|
name: mc
|
|
spec:
|
|
ports:
|
|
- name: minecraft
|
|
port: 25565
|
|
targetPort: 25565
|
|
type: NodePort
|
|
selector:
|
|
server: mc |