Updated Loki and Prometheus config

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2021-11-27 13:35:19 +00:00
parent ad33387c26
commit 796f891f17
3 changed files with 38 additions and 15 deletions

View File

@@ -11,7 +11,6 @@ data:
"tekton-el.auth-proxy.svc": "tekton-el.cluster.local",
"home.auth-proxy.svc": "home.cluster.local",
"home.cluster.fun": "home.cluster.local",
"podify.cluster.fun": "podify.cluster.local",
"prometheus.auth-proxy.svc": "prometheus.cluster.local",
"loki.auth-proxy.svc": "loki.cluster.local"
}
@@ -105,6 +104,40 @@ spec:
app: internal-proxy
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: loki
namespace: auth-proxy
labels:
app: internal-proxy
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 8080
selector:
app: internal-proxy
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: auth-proxy
labels:
app: internal-proxy
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 8080
selector:
app: internal-proxy
type: ClusterIP
---
apiVersion: apps/v1
@@ -230,7 +263,6 @@ spec:
tls:
- hosts:
- home.cluster.fun
- podify.cluster.fun
secretName: non-auth-proxy-ingress
rules:
- host: home.cluster.fun
@@ -243,13 +275,3 @@ spec:
name: non-auth-proxy
port:
name: http
- host: podify.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: non-auth-proxy
port:
name: http