From c314ecc2f1646b259a71436e448a8fb1d5ee590c Mon Sep 17 00:00:00 2001 From: Heiru Wu Date: Mon, 12 Aug 2024 13:18:41 +0800 Subject: [PATCH] chore(ray): disable periodic autoscaler status logging --- charts/core/templates/ray-service/ray-service.yaml | 4 +++- docker-compose.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/core/templates/ray-service/ray-service.yaml b/charts/core/templates/ray-service/ray-service.yaml index d1f566f1..c97627e7 100644 --- a/charts/core/templates/ray-service/ray-service.yaml +++ b/charts/core/templates/ray-service/ray-service.yaml @@ -15,7 +15,9 @@ spec: idleTimeoutSeconds: 60 imagePullPolicy: {{ $.Values.rayService.image.pullPolicy }} securityContext: {} - env: [] + env: + - name: RAY_ENABLE_CLUSTER_STATUS_LOG + value: "0" envFrom: [] {{- if .Values.rayService.spec.autoscalerOptions.resources }} resources: diff --git a/docker-compose.yml b/docker-compose.yml index 1ebd291a..a33b34e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -433,6 +433,7 @@ services: - RAY_GRAFANA_HOST=http://${GRAFANA_HOST}:${GRAFANA_PORT} - RAY_PROMETHEUS_HOST=http://${PROMETHEUS_HOST}:${PROMETHEUS_PORT} - RAY_GRAFANA_IFRAME_HOST=http://localhost:${GRAFANA_PORT} + - RAY_ENABLE_CLUSTER_STATUS_LOG=0 - RAY_worker_register_timeout_seconds=3600 entrypoint: ["/bin/bash", "-c"] command: |