39 lines
559 B
YAML
39 lines
559 B
YAML
---
|
|||
|
|
apiVersion: v1
|
||
|
|
kind: Service
|
||
|
|
metadata:
|
||
|
|
name: minecraft-dynmap
|
||
|
|
spec:
|
||
|
|
selector:
|
||
|
|
app: minecraft
|
||
|
|
ports:
|
||
|
|
- protocol: TCP
|
||
|
|
port: 80
|
||
|
|
targetPort: 80
|
||
|
|
|
||
|
|
---
|
||
|
|
apiVersion: v1
|
||
|
|
kind: Service
|
||
|
|
metadata:
|
||
|
|
name: minecraft-webstatus-mod
|
||
|
|
spec:
|
||
|
|
selector:
|
||
|
|
app: minecraft
|
||
|
|
ports:
|
||
|
|
- protocol: TCP
|
||
|
|
port: 80
|
||
|
|
targetPort: 8080
|
||
|
|
|
||
|
|
---
|
||
|
|
apiVersion: v1
|
||
|
|
kind: Service
|
||
|
|
metadata:
|
||
|
|
name: minecraft-game
|
||
|
|
spec:
|
||
|
|
type: LoadBalancer
|
||
|
|
externalTrafficPolicy: Cluster
|
||
|
|
ports:
|
||
|
|
- port: 30565
|
||
|
|
targetPort: 25565
|
||
|
|
selector:
|
||
|
|
app: minecraft
|