Skip to content

Commit

Permalink
chore(ray): disable periodic autoscaler status logging (#1063)
Browse files Browse the repository at this point in the history
Because

- RayCluster autoscaler is emitting lengthy unnecessary logs

This commit

- disable periodic autoscaler status logging
  • Loading branch information
heiruwu authored Aug 12, 2024
1 parent d39a8b0 commit fbb2736
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/core/templates/ray-service/ray-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit fbb2736

Please sign in to comment.