Commit ea9bd020 authored by Krishna Nikhil Vedurumudi's avatar Krishna Nikhil Vedurumudi
Browse files

Health check on different port

parent 3b940f03
Pipeline #29071 passed with stages
in 32 minutes and 45 seconds
......@@ -48,10 +48,18 @@ spec:
limits:
cpu: "1000m"
memory: "4Gi"
# Upgrade to SpringBoot 2.3 for actuator k8s support with readiness and liveness endpoints
# More info https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-application-availability
readinessProbe:
httpGet:
path: /api/storage/v2/health
port: 80
path: /actuator/health
port: 8081
livenessProbe:
httpGet:
path: /actuator/health
port: 8081
initialDelaySeconds: 250
periodSeconds: 10
volumeMounts:
- name: azure-keyvault
mountPath: "/mnt/azure-keyvault"
......
......@@ -74,4 +74,5 @@ azure.publishToEventGrid=true
azure.eventGridBatchSize=10
#Health checks
management.health.azure-key-vault.enabled=false
\ No newline at end of file
management.health.azure-key-vault.enabled=false
management.server.port=8081
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment