2025-01-12 18:08:21 +00:00
|
|
|
apiVersion: cert-manager.io/v1
|
|
|
|
|
kind: Certificate
|
|
|
|
|
metadata:
|
|
|
|
|
name: grafana-dot-mathmast-com
|
|
|
|
|
namespace: freeleaps-monitoring-system
|
|
|
|
|
spec:
|
|
|
|
|
commonName: grafana.mathmast.com
|
|
|
|
|
dnsNames:
|
|
|
|
|
- grafana.mathmast.com
|
|
|
|
|
issuerRef:
|
|
|
|
|
kind: ClusterIssuer
|
|
|
|
|
name: mathmast-dot-com
|
|
|
|
|
secretName: grafana-dot-mathmast-com-tls
|
|
|
|
|
---
|
2025-01-12 18:09:31 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
2025-01-12 18:08:21 +00:00
|
|
|
kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
name: grafana-ingress
|
|
|
|
|
namespace: freeleaps-monitoring-system
|
2025-01-12 18:27:08 +00:00
|
|
|
annotations:
|
|
|
|
|
nginx.ingress.kubernetes.io/service-upstream: "true"
|
|
|
|
|
nginx.ingress.kubernetes.io/upstream-vhost: "kube-prometheus-stack-grafana.freeleaps-monitoring-system.svc.freeleaps.cluster"
|
2025-01-12 18:08:21 +00:00
|
|
|
spec:
|
|
|
|
|
ingressClassName: nginx
|
|
|
|
|
tls:
|
|
|
|
|
- hosts:
|
|
|
|
|
- grafana.mathmast.com
|
|
|
|
|
secretName: grafana-dot-mathmast-com-tls
|
|
|
|
|
rules:
|
|
|
|
|
- host: grafana.mathmast.com
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- path: /*
|
|
|
|
|
pathType: ImplementationSpecific
|
|
|
|
|
backend:
|
|
|
|
|
service:
|
|
|
|
|
name: kube-prometheus-stack-grafana
|
|
|
|
|
port:
|
|
|
|
|
number: 80
|