Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Manifest: Add health and livenessProbe in containers #120

Merged
merged 1 commit into from
Mar 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions hack/manifests/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ spec:
env:
- name: SPRING_PROFILES_ACTIVE
value: "local"
livenessProbe:
httpGet:
path: /actuator/health
port: 8080
readinessProbe:
httpGet:
path: /actuator/health
port: 8080
---
apiVersion: apps/v1
kind: Deployment
Expand All @@ -38,3 +46,11 @@ spec:
env:
- name: SPRING_PROFILES_ACTIVE
value: "dev"
livenessProbe:
httpGet:
path: /actuator/health
port: 8080
readinessProbe:
httpGet:
path: /actuator/health
port: 8080