Files
2026-07-13 13:17:40 +08:00

24 lines
932 B
YAML

# Minimal configuration for a manually managed on-premise cluster.
# A unique identifier for the head node and workers of this cluster.
cluster_name: minimal-manual
provider:
type: local
head_ip: YOUR_HEAD_NODE_HOSTNAME
worker_ips: [WORKER_NODE_1_HOSTNAME, WORKER_NODE_2_HOSTNAME, ... ]
# How Ray will authenticate with newly launched nodes.
auth:
ssh_user: YOUR_USERNAME
# Optional if an ssh private key is necessary to ssh to the cluster.
# ssh_private_key: ~/.ssh/id_rsa
# The above configuration assumes Ray is installed on your on-prem cluster.
# If Ray is not already installed on your cluster, you can use setup
# commands to install it.
# For the latest Python 3.7 Linux wheels:
# setup_commands:
# - if [ $(which ray) ]; then pip uninstall ray -y; fi
# - pip install -U "ray[default] @ https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl"