shc lease
shc lease
Section titled “shc lease”manage a deployment’s TTL lease
Synopsis
Section titled “Synopsis”A lease is an optional TTL on a deployment (set via shc install --ttl /
shc update --ttl, or standalone with shc lease renew). Once it expires,
the daemon’s leader-gated reaper cron gracefully uninstalls the deployment
(managed-DNS record included). shc lease clear removes the lease and
pins the deployment permanent.
shc lease [flags]Options
Section titled “Options” -e, --environment string environment name -h, --help help for lease -t, --tenant string tenant nameOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win -d, --debug enable debug mode (default: $SHC_DEBUG) --exclude string comma-separated dotted paths to drop --fields string comma-separated columns/keys to show (and their order) --filter string comma-separated dotted paths to keep (drops everything else) -o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT) -s, --stack string stack name (default: $SHC_STACK) -v, --verbose verbose output (default: $SHC_VERBOSE)SEE ALSO
Section titled “SEE ALSO”- shc - Selfhosted Cloud CLI
- shc lease clear - remove a deployment’s lease (pin permanent)
- shc lease renew - renew (or set) a deployment’s lease
- shc lease show - show a deployment’s lease
shc@docs:~$