Ray

Distributed Python cluster of a head node and workers for ML and general compute.

Provider
default
Category
Compute
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
autoscalingboolean—nofalse▸ false
dashboardPort · component propertyinteger—no8265inherited
deploymentTarget · component propertyenumkubernetes | vm | localno—inherited
engineenumspark | hadoop | presto | flink | hpc | ray | dask | kubernetes-batchno—▸ ray
idleTimeoutSeconds · component propertyinteger—no60inherited
managedboolean—nofalse▸ false
runtimeVersionstring—no—inherited
spotInstancesboolean—nofalse▸ false
tlsEnabled · component propertyboolean—nofalseinherited
workerNodesinteger—no—inherited
zoneRedundantboolean—no—inherited
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "ray", component: "ray" }
Other Big data cluster products · 25
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Ray: head node plus worker nodes running distributed Python tasks and actors.
# Defaults from "Ray Clusters Overview", "Configuring Autoscaling" and "Configuring Ray":
# enableInTreeAutoscaling false, idleTimeoutSeconds 60, RAY_USE_TLS 0.
schemaVersion: "1"
type: "component"
id: "ray"
kind: "big-data-cluster"
provider: "default"
docs: "https://docs.ray.io/en/latest/cluster/kubernetes/user-guides/configuring-autoscaling.html"
defaults:
  engine: "ray"
  autoscaling: false
  spotInstances: false
  managed: false
properties:
  deploymentTarget:
    type: "enum"
    values: ["kubernetes", "vm", "local"]
  tlsEnabled:
    type: "boolean"
    default: false
  idleTimeoutSeconds:
    type: "integer"
    default: 60
  dashboardPort:
    type: "integer"
    default: 8265

The same page as markdown, for an agent: /catalogue/components/ray.md