2024-09-22 09:59:10 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2024-09-22 11:12:27 +00:00
|
|
|
name: traefik-service
|
2024-09-22 10:15:43 +00:00
|
|
|
|
|
|
|
spec:
|
|
|
|
type: LoadBalancer
|
|
|
|
ports:
|
2024-09-22 11:12:27 +00:00
|
|
|
- name: web
|
|
|
|
targetPort: web
|
2024-09-22 09:59:10 +00:00
|
|
|
port: 80
|
2024-09-22 11:12:27 +00:00
|
|
|
- name: dashbaord
|
|
|
|
port: 8080
|
|
|
|
targetPort: dashboard
|
2024-09-22 09:59:10 +00:00
|
|
|
selector:
|
|
|
|
app: traefik
|