2022-09-14 22:18:06 +00:00
|
|
|
---
|
|
|
|
# Source: traefik/templates/service.yaml
|
|
|
|
apiVersion: v1
|
2023-05-14 20:07:07 +00:00
|
|
|
kind: Service
|
2022-09-14 22:18:06 +00:00
|
|
|
metadata:
|
2022-11-16 22:52:06 +00:00
|
|
|
name: traefik-external
|
2023-05-14 20:07:07 +00:00
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: traefik-external
|
|
|
|
app.kubernetes.io/instance: traefik-external
|
|
|
|
annotations:
|
|
|
|
spec:
|
|
|
|
type: LoadBalancer
|
2024-01-13 23:43:16 +00:00
|
|
|
loadBalancerIP: 51.15.80.73
|
2023-05-14 20:07:07 +00:00
|
|
|
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
|