Updated Loki and Prometheus config
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
ad33387c26
commit
796f891f17
@ -11,7 +11,6 @@ data:
|
|||||||
"tekton-el.auth-proxy.svc": "tekton-el.cluster.local",
|
"tekton-el.auth-proxy.svc": "tekton-el.cluster.local",
|
||||||
"home.auth-proxy.svc": "home.cluster.local",
|
"home.auth-proxy.svc": "home.cluster.local",
|
||||||
"home.cluster.fun": "home.cluster.local",
|
"home.cluster.fun": "home.cluster.local",
|
||||||
"podify.cluster.fun": "podify.cluster.local",
|
|
||||||
"prometheus.auth-proxy.svc": "prometheus.cluster.local",
|
"prometheus.auth-proxy.svc": "prometheus.cluster.local",
|
||||||
"loki.auth-proxy.svc": "loki.cluster.local"
|
"loki.auth-proxy.svc": "loki.cluster.local"
|
||||||
}
|
}
|
||||||
@ -105,6 +104,40 @@ spec:
|
|||||||
app: internal-proxy
|
app: internal-proxy
|
||||||
type: ClusterIP
|
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
|
apiVersion: apps/v1
|
||||||
@ -230,7 +263,6 @@ spec:
|
|||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- home.cluster.fun
|
- home.cluster.fun
|
||||||
- podify.cluster.fun
|
|
||||||
secretName: non-auth-proxy-ingress
|
secretName: non-auth-proxy-ingress
|
||||||
rules:
|
rules:
|
||||||
- host: home.cluster.fun
|
- host: home.cluster.fun
|
||||||
@ -243,13 +275,3 @@ spec:
|
|||||||
name: non-auth-proxy
|
name: non-auth-proxy
|
||||||
port:
|
port:
|
||||||
name: http
|
name: http
|
||||||
- host: podify.cluster.fun
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: non-auth-proxy
|
|
||||||
port:
|
|
||||||
name: http
|
|
||||||
|
@ -62,6 +62,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
kube-1password: m7c2n5gqybiyxj6ylydju2nljm
|
kube-1password: m7c2n5gqybiyxj6ylydju2nljm
|
||||||
kube-1password/vault: Kubernetes
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/password-key: auth
|
||||||
type: Opaque
|
type: Opaque
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
@ -74,8 +75,8 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
ingress.kubernetes.io/auth-type: basic
|
nginx.ingress.kubernetes.io/auth-type: basic
|
||||||
ingress.kubernetes.io/auth-secret: prometheus-credentials
|
nginx.ingress.kubernetes.io/auth-secret: prometheus-credentials
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
tls:
|
tls:
|
||||||
|
@ -417,7 +417,7 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: prometheus
|
app.kubernetes.io/name: prometheus
|
||||||
app.kubernetes.io/component: server
|
app.kubernetes.io/component: server
|
||||||
replicas: 0
|
replicas: 1
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
Reference in New Issue
Block a user