Skip to content

mooncake fleet pair

Register an already-running agentd as a fleet peer

Description

Use this when agentd is already installed and running on the target. The token is read from --token-via (stdin|file:|literal:). For a fresh box without mooncake installed, use fleet bootstrap instead.

Flags

Flag Type Default Description
--name string - Peer name in peers.toml (default: host portion of addr)
--tag []string - Tag to attach to the peer (repeatable)
--token-via string stdin Where to read the bearer token from: stdin
--insecure-token-on-cmdline bool false Opt-in to --token-via literal:. The token is visible in shell history, ps output, and audit logs; prefer stdin or file:.
--peers-file string - Override the peers.toml path