NAME
gcluster explain - discovers and inspects blueprints, embedded modules, and
cluster specifications offline.
SYNOPSIS
gcluster explain [MODULE_OR_BLUEPRINT_OR_SPECS...] [FLAGS]
DESCRIPTION
The gcluster explain command lets you discover and inspect
Cluster Toolkit blueprints and embedded modules offline. It reads
embedded module metadata and local blueprint files directly without making
Google Cloud API calls or requiring cloud credentials. You can run
gcluster explain in the following modes:
- Index mode. Run
gcluster explainwith no arguments to list available blueprints—including schedulers, machine types, accelerators, workload tags, and storage options—and embedded modules. Core modules appear before community modules. - Blueprint mode. Pass a blueprint YAML file, a companion deployment file
such as
hpc-slurm-deployment.yaml, or a directory containing a single blueprint. This mode displays required Google Cloud APIs,varssettings and global deployment variables, deployment groups and modules, and the deployment command. - Module mode. Pass an embedded module path such as
modules/file-system/managed-lustreor a short name such asmanaged-lustre. This mode displays required Google Cloud APIs, ausesnippet, auto-filled inputs, module outputs, andlifecyclerules for ignored changes. It also lists required, optional, and deprecated settings with their variable types and validation rules. - Specification search mode. Pass hardware, accelerator, workload,
scheduler, or storage keywords, such as
slurm a3u lustreorgke a4. This mode finds the closest turnkey blueprint, notes any tied matches, and generates module snippets for additional requested capabilities.
FLAGS
-f,--format FORMAT: Sets the output format totext,yaml, orjson. The default value istext.-d,--deployment-file DEPLOYMENT_FILE: A deployment file that overrides blueprint variables and backend configuration. This flag is valid only in blueprint mode.If you omit this flag, then
gcluster explainsearches the blueprint's directory and loads the first file that matches one of the following patterns:NAME-deployment.yamlorNAME_deployment.yaml, whereNAMEis the base name of the blueprint file or theblueprint_namevalue.PREFIX-deployment.yamlorPREFIX_deployment.yaml, wherePREFIXis the base name of the blueprint file without a-blueprint,-advanced,-infra, or-experimentsuffix.- The literal filename
deployment.yaml.
EXAMPLES
To list all available blueprints and embedded modules:
gcluster explain
To inspect the required APIs, customizable variables, and module topology of a blueprint:
gcluster explain examples/hpc-slurm.yaml
To inspect an embedded module's inputs, outputs, and use: field compatibility
in JSON format:
gcluster explain modules/file-system/managed-lustre --format json
To find the best matching blueprint for a Slurm cluster with A3 Ultra GPUs and Google Cloud Managed Lustre:
gcluster explain slurm a3u lustre