add ressource limits and livenessProbe to authentik proxy
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful

This commit is contained in:
Aaron Riedel 2025-05-28 20:46:06 +02:00
parent 4c31cd8638
commit 714908fa25
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -63,6 +63,7 @@ metadata:
app.kubernetes.io/managed-by: goauthentik.io
app.kubernetes.io/name: authentik-proxy
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/instance: yolokube-proxy
@ -101,6 +102,19 @@ spec:
- containerPort: 9443
name: https
protocol: TCP
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 150m
memory: 128Mi
livenessProbe:
httpGet:
path: /outpost.goauthentik.io/ping
port: 9300
initialDelaySeconds: 15
periodSeconds: 3
---
apiVersion: traefik.io/v1alpha1
kind: Middleware