add grafana and prometheus
This commit is contained in:
parent
6f29876b28
commit
0e7a148ede
2 changed files with 67 additions and 0 deletions
28
grafana/ingress.yaml
Normal file
28
grafana/ingress.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: grafana-ingress
|
||||
namespace: grafana
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||
ingress.kubernetes.io/ssl-redirect: "false"
|
||||
#nginx.org/ssl-services: "grafana"
|
||||
spec:
|
||||
rules:
|
||||
- host: "grafana.apps.yolokube.de"
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/"
|
||||
backend:
|
||||
service:
|
||||
name: grafana
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- grafana.apps.yolokube.de
|
||||
secretName: grafana-cert
|
Loading…
Add table
Add a link
Reference in a new issue