Skip to content
SHC Docs

shc cluster join

join a cluster (delegated to /internal/enroll)

Enrol this node against an existing cluster’s /internal/enroll endpoint. The token is the bootstrap token printed by shc node token on the leader.

shc cluster join [token] [flags]
-h, --help help for join
--leader string leader URL (e.g. https://leader:4003)
-n, --name string node name to register under
--physical-ip string physical IP to advertise (overrides auto-detect)
--public-address string public IP or stable public hostname internet traffic reaches this node at (recorded on the node row; managed DNS for internet exposure reads it)
-y, --yes skip confirmation prompt
--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: $SHC_ENVIRONMENT)
--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)