2024-04-06 22:16:37 +02:00

30 lines
445 B
YAML

apiVersion: v1
kind: Service
metadata:
name: traefik
namespace: traefik
spec:
type: NodePort
ports:
- name: traefik
port: 9000
protocol: TCP
targetPort: traefik
- name: web
port: 80
protocol: TCP
targetPort: web
nodeport: 80
- name: websecure
port: 443
protocol: TCP
targetPort: websecure
nodeport: 443
- name: dns
port: 53
protocol: UDP
targetPort: dns
nodeport: 53