SIENTIAPDE-1712

Update liveness and readiness probe initial delays in values.yaml; change GITHUB_BRANCH to feature/SIENTIAPDE-1712; refactor MinioRepository initialization in activities.py
This commit is contained in:
vitor-aignosi
2026-03-20 14:37:26 -03:00
parent d43f08d272
commit add3629272
2 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ class Activities(Storage, MLFlow, Gates, OPC, ModelMetrics, API):
metrics_controller = MetricsController(logger=logger) metrics_controller = MetricsController(logger=logger)
minio_repository = MinioRepository( minio_repository = MinioRepository(
endpoint_url=minio_config['endpoint_url'], endpoint=minio_config['endpoint_url'],
access_key=minio_config['access_key'], access_key=minio_config['access_key'],
secret_key=minio_config['secret_key'], secret_key=minio_config['secret_key'],
bucket=minio_config['default_bucket'], bucket=minio_config['default_bucket'],

View File

@@ -71,7 +71,7 @@ livenessProbe:
- -c - -c
- | - |
curl -sf http://localhost:9090/metrics | grep -q '^app_up{.*} 1' curl -sf http://localhost:9090/metrics | grep -q '^app_up{.*} 1'
initialDelaySeconds: 660 initialDelaySeconds: 1260
periodSeconds: 15 periodSeconds: 15
timeoutSeconds: 5 timeoutSeconds: 5
failureThreshold: 3 failureThreshold: 3
@@ -83,7 +83,7 @@ readinessProbe:
- -c - -c
- | - |
curl -sf http://localhost:9090/metrics | grep -q '^app_up{.*} 1' curl -sf http://localhost:9090/metrics | grep -q '^app_up{.*} 1'
initialDelaySeconds: 600 initialDelaySeconds: 1200
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 3 timeoutSeconds: 3
failureThreshold: 2 failureThreshold: 2
@@ -157,7 +157,7 @@ env:
- name: GITHUB_REPO_URL - name: GITHUB_REPO_URL
value: "git@github.com:Aignosi/sientia-dataops-laborious_temporal.git" value: "git@github.com:Aignosi/sientia-dataops-laborious_temporal.git"
- name: GITHUB_BRANCH - name: GITHUB_BRANCH
value: "fix/SIENTIAPDE-1478" value: "feature/SIENTIAPDE-1712"
- name: PYTHON_APP - name: PYTHON_APP
value: "laborious.worker.worker" value: "laborious.worker.worker"