shdctl command reference
Reference documentation for shdctl commands, flags, workflows, and deployment operations
Read time 2 minutesLast updated a day ago
Use this page to find command references for shdctl. To get started with shdctl and learn about recommended deployment workflows, refer to shdctl and Architecture and security.
Global flags
You can use these flags with any command:
- : Path to manifest.yaml file (default: auto-discover)
--manifest <path> - : Set logging level (
--log-level <level>,trace,debug,info,warn,error,fatal; default:panic)info - : Output logs in JSON format
--json
Logs go to stderr. A command's own output goes to stdout — a command list, the results, a report, the commands a deploy runs — so a pipeline can capture one without the other.
--dry-runcluster checkverifyExample:
shdctl release pull --version 2.0.0 --log-level debug
Command summary
Command | Description |
|---|---|
| Print the version number |
| Set registry credentials (interactive) |
| View configuration |
| Set registry credentials (prompts on a terminal; |
| Delete registry credentials |
| Initialize a new manifest file interactively |
| Validate a manifest file against the CUE schema |
| Display the CUE schema (or export it for standalone validation) |
| Validate that the cluster meets the deployment prerequisites (read-only; |
| Pull a release from the registry |
| Generate release configuration (Helm/ArgoCD charts) |
| Deploy a release (Helm or ArgoCD) |
| Uninstall a release |
| Verify registry authentication by syncing one image and one ORAS artifact |
| Sync Docker images from the source registry to the target registry — those the manifest's enabled features require, or all of them with |
| Sync ORAS artifacts from the source registry to the target registry |
| Report which images the manifest requires are missing from the target registry, and which it holds that the manifest does not require (read-only; exits non-zero on missing) |
| Generate Kubernetes secret YAML from schema definitions |
| Deploy secrets to your Kubernetes cluster |
| Reconstruct the secrets import file from the secrets already in a cluster |
| Print a shell completion script (bash, zsh, fish, powershell) |