add ressource limits and livenessProbe to authentik proxy
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
All checks were successful
ci/woodpecker/push/yamllint Pipeline was successful
This commit is contained in:
parent
4c31cd8638
commit
714908fa25
1 changed files with 14 additions and 0 deletions
|
@ -63,6 +63,7 @@ metadata:
|
||||||
app.kubernetes.io/managed-by: goauthentik.io
|
app.kubernetes.io/managed-by: goauthentik.io
|
||||||
app.kubernetes.io/name: authentik-proxy
|
app.kubernetes.io/name: authentik-proxy
|
||||||
spec:
|
spec:
|
||||||
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/instance: yolokube-proxy
|
app.kubernetes.io/instance: yolokube-proxy
|
||||||
|
@ -101,6 +102,19 @@ spec:
|
||||||
- containerPort: 9443
|
- containerPort: 9443
|
||||||
name: https
|
name: https
|
||||||
protocol: TCP
|
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
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue