shc node maintenance
shc node maintenance
Section titled “shc node maintenance”take a node out for a maintenance window
Synopsis
Section titled “Synopsis”Cordon
The node’s return clears the announcement; the cordon stays until shc node maintenance <node> --end, which also lifts the cordon. A drained node stays drained: shc node uncordon returns it.
shc node maintenance <node> [flags]Options
Section titled “Options” --drain drain the node's work first --end lift the maintenance: clear the announcement and uncordon -h, --help help for maintenance --window duration how long the node may be away, e.g. 30m -y, --yes skip the drain confirmation promptOptions 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) -e, --environment string environment name (default: "prod", or "default" on an estate with no licence and no trial; $SHC_ENVIRONMENT and shc ctx -e override it, and the "master" tenant is always "default") --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) -t, --tenant string tenant name (default: $SHC_TENANT) -v, --verbose verbose output (default: $SHC_VERBOSE)SEE ALSO
Section titled “SEE ALSO”- shc node - manage and inspect cluster nodes
shc@docs:~$