17 lines
337 B
YAML
17 lines
337 B
YAML
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: prometheus-ingress
|
|
namespace: monitoring
|
|
annotations:
|
|
kubernetes.io/ingress.class: "traefik-inter"
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`prometheus.entos`)
|
|
services:
|
|
- name: prometheus-svc
|
|
port: 80
|