From 5f850f7a3a3e0a4588e219c18f39bb57de68db40 Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Sat, 22 Feb 2020 01:14:03 +0000 Subject: [PATCH] [22.02.20] Actuator --- configuration/kubernetes/deployment.yaml | 6 ++++-- pom.xml | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index c5ab894..e5db267 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -56,8 +56,9 @@ spec: name: RESOURCE_NAME livenessProbe: httpGet: - path: /graphql + path: /actuator/health port: 9090 + scheme: HTTP initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 1 @@ -66,7 +67,8 @@ spec: readinessProbe: httpGet: port: 9090 - path: /graphql + path: /actuator/health + scheme: HTTP initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: 1 diff --git a/pom.xml b/pom.xml index 0989fc8..2c3480f 100644 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,10 @@ + + org.springframework.boot + spring-boot-starter-actuator +