From ec6121e795d2483790767ab8013604e0addbaff4 Mon Sep 17 00:00:00 2001 From: "Vadzim Beuzo [EPAM / GCP]" <vadzim_beuzo@epam.com> Date: Wed, 26 Jun 2024 08:00:27 +0000 Subject: [PATCH] GONRG-9794-liveness-readiness-probes --- NOTICE | 7 ------- devops/core-plus/deploy/templates/deployment.yaml | 11 ++++++++--- devops/gc/deploy/templates/deployment.yaml | 11 ++++++++--- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/NOTICE b/NOTICE index f0250477c..15e6babcd 100644 --- a/NOTICE +++ b/NOTICE @@ -499,13 +499,6 @@ The following software have components provided under the terms of this license: - Jakarta XML Binding API (from https://repo1.maven.org/maven2/jakarta/xml/bind/jakarta.xml.bind-api, https://repo1.maven.org/maven2/org/jboss/spec/javax/xml/bind/jboss-jaxb-api_2.3_spec) - Old JAXB Core (from <https://eclipse-ee4j.github.io/jaxb-ri/>, https://eclipse-ee4j.github.io/jaxb-ri/, https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl) -======================================================================== -GPL-2.0-only -======================================================================== -The following software have components provided under the terms of this license: - -- javax.annotation API (from http://jcp.org/en/jsr/detail?id=250) - ======================================================================== GPL-2.0-with-classpath-exception ======================================================================== diff --git a/devops/core-plus/deploy/templates/deployment.yaml b/devops/core-plus/deploy/templates/deployment.yaml index 9ec2f907d..371fc6d64 100644 --- a/devops/core-plus/deploy/templates/deployment.yaml +++ b/devops/core-plus/deploy/templates/deployment.yaml @@ -30,11 +30,16 @@ spec: livenessProbe: failureThreshold: 3 httpGet: - path: api/notification/v1/_ah/warmup - port: 8080 - scheme: HTTP + path: /health/liveness + port: 8081 initialDelaySeconds: 120 periodSeconds: 10 + readinessProbe: + failureThreshold: 2 + httpGet: + path: /health/readiness + port: 8081 + periodSeconds: 15 envFrom: - configMapRef: name: {{ .Values.conf.configmap | quote }} diff --git a/devops/gc/deploy/templates/deployment.yaml b/devops/gc/deploy/templates/deployment.yaml index d5187b34f..0d6a0cb20 100644 --- a/devops/gc/deploy/templates/deployment.yaml +++ b/devops/gc/deploy/templates/deployment.yaml @@ -30,11 +30,16 @@ spec: livenessProbe: failureThreshold: 3 httpGet: - path: api/notification/v1/_ah/warmup - port: 8080 - scheme: HTTP + path: /health/liveness + port: 8081 initialDelaySeconds: 120 periodSeconds: 10 + readinessProbe: + failureThreshold: 2 + httpGet: + path: /health/readiness + port: 8081 + periodSeconds: 15 envFrom: - configMapRef: name: {{ .Values.conf.configmap | quote}} -- GitLab