Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,5 @@ persistence-modules/neo4j/data/**
logging-modules/log4j/app-dynamic-log.log
logging-modules/logback/conditional.log
logging-modules/logback/filtered.log
"*.exe"
"prometheus-3.7.3.windows-amd64/"
24 changes: 18 additions & 6 deletions kubernetes-modules/kubernetes-spring/serviceDeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,23 @@ spec:
creationTimestamp: null
labels:
app: demo
spec:
containers:
- image: docker.io/library/demo:0.0.1-SNAPSHOT
name: demo
resources: {}
imagePullPolicy: Never
spec:
containers:
- image: docker.io/library/demo:0.0.1-SNAPSHOT
name: demo
resources: {}
imagePullPolicy: Never
livenessProbe:
httpGet:
path: /actuator/health/liveness
port: 8080
initialDelaySeconds: 10
periodSeconds: 10
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8080
initialDelaySeconds: 10
periodSeconds: 10

status: {}
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@

management.endpoint.health.probes.enabled=true
management.health.livenessState.enabled=true
management.health.readinessState.enabled=true