31 lines
604 B
YAML
31 lines
604 B
YAML
|
kind: Service
|
||
|
apiVersion: v1
|
||
|
metadata:
|
||
|
name: mc-utils-grafana-external
|
||
|
namespace: traefik
|
||
|
spec:
|
||
|
type: ExternalName
|
||
|
externalName: 10.0.50.137
|
||
|
ports:
|
||
|
- name: http
|
||
|
port: 3000
|
||
|
---
|
||
|
apiVersion: traefik.io/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: mc-utils-grafana-external-ingress
|
||
|
namespace: traefik
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: traefik-external
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- match: Host(`grafana.mcutils.xyz`)
|
||
|
kind: Rule
|
||
|
services:
|
||
|
- name: mc-utils-grafana-external
|
||
|
port: 3000
|
||
|
tls:
|
||
|
secretName: mcutils-xyz
|