ansible-role-k8s-traefik/templates/2.2/traefik-dashboard-svc.yml.j2
2020-03-26 17:39:18 +01:00

24 lines
376 B
Django/Jinja

apiVersion: v1
kind: Service
metadata:
labels:
app: traefik
name: traefik-dashboard
namespace: {{ traefik_namespace }}
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
- name: traefik
port: 8080
protocol: TCP
- protocol: TCP
port: 443
name: https
targetPort: 443
type: ClusterIP
selector:
app: traefik