Commit a9f77459 authored by Aalekh Jain's avatar Aalekh Jain
Browse files

Added health checks

parent d0d44cac
...@@ -54,10 +54,14 @@ spec: ...@@ -54,10 +54,14 @@ spec:
- containerPort: 80 - containerPort: 80
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /api/workflow/swagger-ui.html path: /actuator/health
port: 80 port: 8081
initialDelaySeconds: 100 livenessProbe:
timeoutSeconds: 30 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"
......
...@@ -83,3 +83,8 @@ osdu.azure.airflow.ignoreDagContent=${ignore_dagContent} ...@@ -83,3 +83,8 @@ osdu.azure.airflow.ignoreDagContent=${ignore_dagContent}
# Azure Event Grid Configuration # Azure Event Grid Configuration
azure.eventGrid.enabled=${event_grid_enabled:true} azure.eventGrid.enabled=${event_grid_enabled:true}
azure.eventGrid.topicName=${event_grid_topic:statuschangedtopic} azure.eventGrid.topicName=${event_grid_topic:statuschangedtopic}
# Configuration for health checks
management.server.port=8081
management.health.azure-key-vault.enabled=false
management.health.elasticsearch.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