From 8b4bc1cc6a029fee426d918111553e3ffa5afa18 Mon Sep 17 00:00:00 2001 From: levobot Date: Thu, 25 Jan 2024 18:14:03 +0000 Subject: [PATCH] Update levoai-satellite to latest released version Signed-off-by: levobot --- levoai/levoai-satellite/Chart.yaml | 8 ++++---- levoai/levoai-satellite/charts/satellite/Chart.yaml | 4 ++-- .../charts/satellite/templates/deployment.yaml | 4 ++-- levoai/levoai-satellite/charts/tagger/Chart.yaml | 4 ++-- levoai/levoai-satellite/values.yaml | 12 ++++++++++++ 5 files changed, 22 insertions(+), 10 deletions(-) diff --git a/levoai/levoai-satellite/Chart.yaml b/levoai/levoai-satellite/Chart.yaml index 81571cf..bb3c608 100644 --- a/levoai/levoai-satellite/Chart.yaml +++ b/levoai/levoai-satellite/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 0.2.467 +appVersion: 0.2.469 dependencies: - condition: global.useRabbitmq name: rabbitmq @@ -7,10 +7,10 @@ dependencies: version: 12.4.2 - name: satellite repository: file://dependencies/satellite - version: 0.2.467 + version: 0.2.469 - name: tagger repository: file://dependencies/tagger - version: 0.2.467 + version: 0.2.469 - condition: global.levoai_config_override.api_rule_evaluation.enabled name: levoai-ion repository: file://dependencies/ion @@ -34,4 +34,4 @@ description: The Levoai Satellite Service, which receives observations from the filters et al. name: levoai-satellite type: application -version: 0.2.467 +version: 0.2.469 diff --git a/levoai/levoai-satellite/charts/satellite/Chart.yaml b/levoai/levoai-satellite/charts/satellite/Chart.yaml index 397ec45..0283e3e 100644 --- a/levoai/levoai-satellite/charts/satellite/Chart.yaml +++ b/levoai/levoai-satellite/charts/satellite/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 -appVersion: 0.2.467 +appVersion: 0.2.469 description: A Helm chart for Levoai's HTTP receiver of observations name: satellite type: application -version: 0.2.467 +version: 0.2.469 diff --git a/levoai/levoai-satellite/charts/satellite/templates/deployment.yaml b/levoai/levoai-satellite/charts/satellite/templates/deployment.yaml index 379a7ec..d63b4c0 100644 --- a/levoai/levoai-satellite/charts/satellite/templates/deployment.yaml +++ b/levoai/levoai-satellite/charts/satellite/templates/deployment.yaml @@ -44,7 +44,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} args: - "-w" - - "1" + - "4" - "-b" - "0.0.0.0:{{ .Values.service.port }}" - "--worker-tmp-dir" @@ -52,7 +52,7 @@ spec: - "--worker-class" - "gevent" - "--worker-connections" - - "30" + - "500" - "levoai_e7s.satellite.satellite:create_server()" ports: - name: http diff --git a/levoai/levoai-satellite/charts/tagger/Chart.yaml b/levoai/levoai-satellite/charts/tagger/Chart.yaml index 85c83b1..742e6fe 100644 --- a/levoai/levoai-satellite/charts/tagger/Chart.yaml +++ b/levoai/levoai-satellite/charts/tagger/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 -appVersion: 0.2.467 +appVersion: 0.2.469 description: A Helm chart for Levoai's Schema Type Tagger name: tagger type: application -version: 0.2.467 +version: 0.2.469 diff --git a/levoai/levoai-satellite/values.yaml b/levoai/levoai-satellite/values.yaml index 6211998..b1f71d2 100644 --- a/levoai/levoai-satellite/values.yaml +++ b/levoai/levoai-satellite/values.yaml @@ -135,6 +135,18 @@ rabbitmq: username: levoai password: levoailevoai erlangCookie: levoaierlangcookie + customReadinessProbe: + exec: + command: + - sh + - '-ec' + - >- + curl -f --user $RABBITMQ_USERNAME:$RABBITMQ_PASSWORD 127.0.0.1:15672/api/health/checks/virtual-hosts + initialDelaySeconds: 10 + timeoutSeconds: 20 + periodSeconds: 30 + successThreshold: 1 + failureThreshold: 3 satellite: fullnameOverride: "levoai-satellite"