nvcrectl workloadrun
nvcrectl workloadrun run
Applies a WorkloadRun manifest to the cluster and optionally waits for completion.
Flags
--cleanup runs on every exit path — success, failure, or --wait timeout — matching certification run --cleanup. It deletes the WorkloadRun only when this invocation created it (Kubernetes garbage collection then removes the owned Workflow, whose finalizer deletes the Jobs, workloads, and dependency resources), deletes the namespace only when this run created it, and, when combined with --setup, uninstalls the installed components after the cascade completes. On a --wait timeout the CLI prints a partial report from the still-live WorkloadRun before any cleanup runs. Without --cleanup, a --wait timeout stops only the CLI watch and the WorkloadRun continues running.
When --wait reaches its timeout, the command prints the WorkloadRun’s current report, writes it to --results-file when requested, and exits with a timeout error. Without --cleanup, the WorkloadRun continues running in the cluster — the timeout stops only the CLI watch — and the timeout output includes commands to watch its progress, print an updated report, or stop it. nvcrectl workloadrun report exits nonzero while the WorkloadRun is still running.
Examples
Pull workload images from NGC:
nvcrectl workloadrun render
Renders the Workflow that would be created from a WorkloadRun, without applying it. Useful for offline inspection.
Flags
nvcrectl workloadrun report
Generates a report for a completed WorkloadRun, including bandwidth and goodput metrics if configured.
Flags
nvcrectl workloadrun status
Prints the current status of a WorkloadRun.
Flags
nvcrectl workloadrun cancel
Cancels one or more running WorkloadRuns.