mirror of
https://github.com/vale981/ray
synced 2025-03-08 11:31:40 -05:00

Closes #21655. At the start of each autoscaler iteration, we read the Ray Cluster CR from K8s and use it to extract the autoscaling config.
9 lines
365 B
Docker
9 lines
365 B
Docker
FROM rayproject/ray:nightly
|
|
ARG WHEEL_PATH
|
|
RUN $HOME/anaconda3/bin/pip uninstall -y ray
|
|
COPY $WHEEL_PATH .
|
|
RUN $HOME/anaconda3/bin/pip --no-cache-dir install "$WHEEL_PATH"[all]
|
|
|
|
COPY autoscaling_config.py /home/ray/autoscaling_config.py
|
|
COPY run_autoscaler.py /home/ray/run_autoscaler.py
|
|
COPY run_autoscaler_with_retries.py /home/ray/run_autoscaler_with_retries.py
|