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 (
gcluster explainwith no arguments): lists all available blueprint paths, schedulers, machine types, storage options, and top-level embedded modules. - Blueprint mode (
gcluster explain BLUEPRINT_FILE): displays required Google Cloud APIs, customizable variables in thevarsblock, deployment groups and their modules, and the deployment command. - Module mode (
gcluster explain MODULE_PATH): accepts a full embedded module path (such asmodules/file-system/managed-lustre) or a short module name (such asmanaged-lustreorfilestore), and displays required Google Cloud APIs, a ready-to-copyusesnippet, auto-filled inputs, required and optional settings, and module outputs. - Specification search mode (
gcluster explain KEYWORD ...): matches hardware, scheduler, or storage keywords (for example,slurm a3u lustreorgke a4) to the closest turnkey blueprint and generates module snippets for any 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 to override blueprint variables and backend configuration when you inspect a blueprint. This flag is valid only in blueprint mode. If you omit the-dflag, thengcluster explainautomatically loads a companionBLUEPRINT_NAME-deployment.yamlfile in the same directory if one exists.
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: 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