34 lines
754 B
YAML
34 lines
754 B
YAML
---
|
|
# Source: traefik/templates/service.yaml
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: traefik-external
|
|
labels:
|
|
app.kubernetes.io/name: traefik-external
|
|
app.kubernetes.io/instance: traefik-external
|
|
annotations:
|
|
spec:
|
|
type: LoadBalancer
|
|
loadBalancerIP: 51.15.80.73
|
|
selector:
|
|
app.kubernetes.io/name: traefik
|
|
app.kubernetes.io/instance: traefik
|
|
ports:
|
|
- port: 25565
|
|
name: minecrafttcp
|
|
targetPort: "minecrafttcp"
|
|
protocol: TCP
|
|
- port: 80 # Change port here to accomodate for internal only services
|
|
name: web
|
|
targetPort: "web"
|
|
protocol: TCP
|
|
- port: 443
|
|
name: websecure
|
|
targetPort: "websecure"
|
|
protocol: TCP
|
|
- port: 9100
|
|
name: metrics
|
|
targetPort: "metrics"
|
|
protocol: TCP
|