diff --git a/devops/azure/chart/templates/deployment.yaml b/devops/azure/chart/templates/deployment.yaml index b7baad43d37c4a2d2613da1b2b5f12c56817f663..9b1dad7ab80b934951d01745696577ce3ffd08bd 100644 --- a/devops/azure/chart/templates/deployment.yaml +++ b/devops/azure/chart/templates/deployment.yaml @@ -52,8 +52,14 @@ spec: cpu: "500m" readinessProbe: httpGet: - path: /api/indexer/v2/swagger-ui.html - 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" diff --git a/provider/indexer-azure/src/main/resources/application.properties b/provider/indexer-azure/src/main/resources/application.properties index 0d27fa48835d20b515d0fe4a6ecd692a8d922ee6..871cbdb1dd5943a223d1f043b06677bc1c4438c2 100644 --- a/provider/indexer-azure/src/main/resources/application.properties +++ b/provider/indexer-azure/src/main/resources/application.properties @@ -88,6 +88,8 @@ tenantFactoryImpl.required=true # Disable keyVault for actuator health check management.health.azure-key-vault.enabled=false +management.server.port=8081 + #Redis redis.database=${REDIS_DATABASE} \ No newline at end of file