From 6de7ee32aa099183cab29a4b3ab7e91270017875 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sun, 1 Dec 2024 01:13:38 +0800 Subject: [PATCH] fix(authentik): rollingUpdate maxUnavailable, probes --- kube/deploy/apps/authentik/app/hr.yaml | 39 ++++++++++++++++---------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/kube/deploy/apps/authentik/app/hr.yaml b/kube/deploy/apps/authentik/app/hr.yaml index b67d259858..d7861827ec 100644 --- a/kube/deploy/apps/authentik/app/hr.yaml +++ b/kube/deploy/apps/authentik/app/hr.yaml @@ -104,14 +104,17 @@ spec: limits: cpu: "1000m" memory: "2Gi" - #probes: - # liveness: - # enabled: true - # readiness: - # enabled: true + probes: + liveness: + enabled: true + readiness: + enabled: true worker: type: deployment replicas: 3 + strategy: RollingUpdate + rollingUpdate: + unavailable: "90%" pod: labels: db.home.arpa/pg: pg-authentik @@ -147,6 +150,9 @@ spec: ldap: type: deployment replicas: 2 + strategy: RollingUpdate + rollingUpdate: + unavailable: "90%" pod: labels: authentik.home.arpa/https: allow @@ -177,14 +183,17 @@ spec: limits: cpu: "1000m" memory: "512Mi" - #probes: - # liveness: - # enabled: true - # readiness: - # enabled: true + probes: + liveness: + enabled: true + readiness: + enabled: true radius: type: deployment replicas: 2 + strategy: RollingUpdate + rollingUpdate: + unavailable: "90%" pod: labels: authentik.home.arpa/https: allow @@ -215,11 +224,11 @@ spec: limits: cpu: "1000m" memory: "512Mi" - #probes: - # liveness: - # enabled: true - # readiness: - # enabled: true + probes: + liveness: + enabled: true + readiness: + enabled: true redis: type: deployment replicas: 1