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: ...@@ -45,15 +45,16 @@ spec:
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 80 - containerPort: 80
resources:
requests:
cpu: "100m"
limits:
cpu: "300m"
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /api/search/v2/actuator/health path: /actuator/health
port: 80 port: 8081
livenessProbe:
httpGet:
path: /actuator/health
port: 8081
initialDelaySeconds: 250
periodSeconds: 10
volumeMounts: volumeMounts:
- name: azure-keyvault - name: azure-keyvault
mountPath: "/mnt/azure-keyvault" mountPath: "/mnt/azure-keyvault"
......
...@@ -75,6 +75,7 @@ redis.ssl.enabled=true ...@@ -75,6 +75,7 @@ redis.ssl.enabled=true
redis.database=${REDIS_DATABASE} redis.database=${REDIS_DATABASE}
# Health checks # Health checks
management.server.port=8081
management.health.redis.enabled=false management.health.redis.enabled=false
management.health.elasticsearch.enabled=false management.health.elasticsearch.enabled=false
management.health.azure-key-vault.enabled=false management.health.azure-key-vault.enabled=false
......
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