prom ingress
This commit is contained in:
14
infrastructure/07-prometheus/ingress.yaml
Normal file
14
infrastructure/07-prometheus/ingress.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: prometheus-server
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure-local
|
||||||
|
tls: {}
|
||||||
|
routes:
|
||||||
|
- match: Host(prometheus.steffenillium.de`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: prometheus-server
|
||||||
|
port: 80
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
# namespace: prometheus
|
resources:
|
||||||
|
- ingress.yaml
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
|
|||||||
Reference in New Issue
Block a user