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 +