From 613b4cf9e100ca892c5b2d2759697f16c274f11d Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Tue, 29 Mar 2022 08:40:46 +0200 Subject: [PATCH] add healthchecks to traefik --- templates/traefik-keycloak.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/traefik-keycloak.yaml b/templates/traefik-keycloak.yaml index e38a757..88862b7 100644 --- a/templates/traefik-keycloak.yaml +++ b/templates/traefik-keycloak.yaml @@ -18,6 +18,10 @@ http: services: keycloak: loadBalancer: + healthCheck: + path: /auth/realms/master + interval: "10s" + timeout: "3s" servers: - url: "http://sso1.itix.lab:8080" - url: "http://sso2.itix.lab:8080"