Skip to content

Commit ba434eb

Browse files
committed
use lighter health check
1 parent d342430 commit ba434eb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.ci/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ spec:
4040
- containerPort: 8080
4141
livenessProbe:
4242
httpGet:
43-
path: /
43+
path: /actuator/health
4444
port: 8080
4545
initialDelaySeconds: 30
4646
periodSeconds: 30
4747
readinessProbe:
4848
httpGet:
49-
path: /
49+
path: /actuator/health
5050
port: 8080
5151
initialDelaySeconds: 10
5252
periodSeconds: 10

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
<groupId>org.springframework.boot</groupId>
3333
<artifactId>spring-boot-starter-web</artifactId>
3434
</dependency>
35+
<dependency>
36+
<groupId>org.springframework.boot</groupId>
37+
<artifactId>spring-boot-starter-actuator</artifactId>
38+
</dependency>
3539
<dependency>
3640
<groupId>org.springframework.boot</groupId>
3741
<artifactId>spring-boot-starter-cache</artifactId>

0 commit comments

Comments
 (0)