add infra app prometheus

This commit is contained in:
2024-06-26 14:35:22 +10:00
parent 9119f221ca
commit b6f00d0140
8 changed files with 287 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: capacitor-ingress
namespace: capacitor
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
rules:
- host: "prometheus.cluster.edward.sydney"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: prometheus
port:
number: 30999
- host: "prometheus.cluster.local"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: prometheus
port:
number: 30999