Moving from version 2
Version 3 is a rewrite, and nothing is compatible with version 2: not the Python API, not the cluster YAML, not the saved state. This page maps the old to the new.
What changed, and why
One core. The Builder and the Autoscaler now share the code that creates, finds and removes clusters, and it is tested against a simulation of the platform as well as the real thing.
Safer by construction. A failed build removes what it created. Shutting down tries every step and can verify that no instance is left. No command can remove a cluster as a side effect, and clusters with similar names can no longer be confused.
No Valkey, no tunnel to it. The Autoscaler no longer runs a key-value server on the head node; the state of the cluster is read from YellowDog itself.
Credentials stay out of YellowDog tasks. The Autoscaler’s head node now gets its credentials over SSH, not through a task’s environment.
Fewer dependencies.
redis,sshtunneland the pinnedparamikoare gone; tunnels use the OpenSSH client.A command-line tool,
raydog, to list, inspect, shut down and clean up clusters.Lifetimes by default. Every cluster has a 24-hour lifetime unless told otherwise.
Clusters created by version 2 are invisible to version 3: shut them down with version 2, or in the YellowDog portal, before upgrading.
The Builder
Version 2 |
Version 3 |
|---|---|
|
|
|
|
|
fields of the head’s |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The Autoscaler
Version 2 |
Version 3 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
removed |
|
removed: scripts named with |
|
removed |
|
|
credentials passed to the head node’s task |
copied to the head node by |
workers needed SSH access from the head node |
not needed |
The head start script no longer starts Valkey. The node setup script should install the YellowDog Agent last (see Preparing nodes).