Commit ebbd97b0 authored by Ankit Sharma [Microsoft]'s avatar Ankit Sharma [Microsoft]
Browse files

Merge branch 'healthCheck' into 'master'

[Azure] Added health checks for search service

See merge request !171
parents 28bba18c 14089bf8
Pipeline #72318 failed with stages
in 31 minutes and 15 seconds
This diff is collapsed.
......@@ -45,15 +45,16 @@ spec:
imagePullPolicy: Always
ports:
- containerPort: 80
resources:
requests:
cpu: "100m"
limits:
cpu: "300m"
readinessProbe:
httpGet:
path: /api/search/v2/actuator/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"
......
......@@ -75,6 +75,7 @@ redis.ssl.enabled=true
redis.database=${REDIS_DATABASE}
# Health checks
management.server.port=8081
management.health.redis.enabled=false
management.health.elasticsearch.enabled=false
management.health.azure-key-vault.enabled=false
......
Markdown is supported
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