63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: atm10
|
|
annotations:
|
|
metallb.io/address-pool: default
|
|
mikrotik.brunner.ninja/router: newgw
|
|
mikrotik.brunner.ninja/forwardings: '[{"name":"tcp","servicePort":"minecraft","dstPort":"25566","dstAddressList":"WANs"}]'
|
|
labels:
|
|
app.kubernetes.io/name: minecraft-atm10
|
|
app.kubernetes.io/instance: atm10
|
|
spec:
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
selector:
|
|
app.kubernetes.io/name: minecraft-atm10
|
|
app.kubernetes.io/instance: atm10
|
|
ports:
|
|
- name: minecraft
|
|
port: 25565
|
|
targetPort: minecraft
|
|
protocol: TCP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: atm10-arschrock
|
|
labels:
|
|
app.kubernetes.io/name: minecraft-atm10
|
|
app.kubernetes.io/instance: atm10
|
|
spec:
|
|
type: ClusterIP
|
|
externalIPs:
|
|
- 10.12.4.170
|
|
- 192.168.0.2
|
|
selector:
|
|
app.kubernetes.io/name: minecraft-atm10
|
|
app.kubernetes.io/instance: atm10
|
|
ports:
|
|
- name: minecraft
|
|
port: 25566
|
|
targetPort: minecraft
|
|
protocol: TCP
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: atm10-metrics
|
|
labels:
|
|
app.kubernetes.io/name: minecraft-atm10
|
|
app.kubernetes.io/instance: atm10
|
|
app.kubernetes.io/component: metrics
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app.kubernetes.io/name: minecraft-atm10
|
|
app.kubernetes.io/instance: atm10
|
|
ports:
|
|
- name: metrics
|
|
port: 8080
|
|
targetPort: metrics
|
|
protocol: TCP
|