Cluster Workflows¶
Cluster workflows are the pipelines that drive the Cluster Lifecycle. They follow the same structural patterns as Universal Workflows but operate at the cluster level, coordinating actions across a group of machines rather than a single machine.
Standard Cluster Workflow Chain¶
DRP provides two standard cluster workflow entry points:
universal-cluster-provision— Creates and provisions a new clusteruniversal-cluster-destroy— Destroys an existing cluster and releases its machines
These workflows use universal-start / universal-destroy entry points internally and execute cluster-specific stages in addition to per-machine tasks.
Provisioning Flow¶
- A Cluster object is created with a workflow set to
universal-cluster-provision - The cluster workflow requests machines from a Resource Broker, which allocates them from a Pool
- Each allocated machine is registered in DRP with the cluster's tracking profile (
cluster/tags) - Per-machine pipelines run on each member (discovery, OS install, application deployment)
- Cluster-level stages run to finalize cross-machine configuration (e.g., Kubernetes control plane setup)
- On completion,
WorkflowCompleteis set on the Cluster object
Destroy Flow¶
- The cluster workflow is set to
universal-cluster-destroy - Cluster-level teardown stages run (e.g., drain nodes, remove from platform API)
- The Resource Broker releases each machine back to its Pool
- Pool release transitions run on each machine (wipe, re-image, or return to free state)
Reuse of Machine Lifecycle Patterns¶
Cluster workflows deliberately reuse machine-level pipeline elements:
- Each cluster member runs the same
universal-discoveroruniversal-startworkflow as standalone machines - Classification and FlexiFlow extension points work identically
- Hardware configuration, OS installation, and application deployment stages are shared
The cluster layer adds coordination: waiting for quorum, sequencing control-plane vs. worker provisioning, and managing cluster-level state across members.
WorkOrder Mode After Provisioning¶
Once provisioned, a cluster is typically placed in WorkOrder Mode. In this mode, the cluster no longer processes workflows and instead accepts WorkOrders for ongoing operations:
- Kubernetes application deployments
- Cluster resize (add/remove nodes via Resource Broker)
- Rolling updates
See Work Order Mode for the execution model.
See Also¶
- Cluster Architecture — The Cluster object and its relationship to Resource Brokers and Pools
- Universal Workflow Architecture — The workflow layout these cluster workflows follow
- Operator Guide: Cluster Operations