[22.02.20] Actuator

This commit is contained in:
andyjk15 2020-02-22 01:14:03 +00:00
parent d54d26df40
commit 5f850f7a3a
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -24,6 +24,10 @@
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- Web Sockets -->
<dependency>