Command Reference
| Command | Description |
|---|---|
init |
Check a manifest and show a summary |
build |
Download images and charts into a bundle |
registry |
Deploy a registry and ChartMuseum in Kubernetes |
push |
Push images (and charts, for the built-in registry) |
unpack |
Extract a bundle into the current directory |
Typical Workflow
On a connected machine:
initto check your manifestbuildto create the bundle
In the air-gapped environment, either:
- Registry you already have:
push --external-registry <host>, thenhelm installfrom the charts in the bundle (unpackextracts them). - Registry deployed by Capsailer:
registry, thenpush --namespace <ns>. Charts are published to ChartMuseum as well.
Flags
Every command accepts:
| Flag | Description |
|---|---|
-h, --help |
Show help for the command |
The root command also accepts -v, --version.
Other flags belong to individual commands. --kubeconfig and --namespace exist on registry and push only. Run capsailer <command> --help to see exactly what a command accepts.
Exit Codes
All commands exit with 0 on success and 1 on any error. The error message is printed to standard output.