muster cloud

muster cloud

Connect this server to your Fleet Cloud account.

Synopsis

Terminal
muster cloud <command>

Description

When you are signed in, each deploy, rollback, restart, promote and abort sends one event (names, versions, results; never logs or secrets) to your dashboard. Turn it off with muster settings --global cloud.activity off, "cloud": {"activity": false} in muster.json, or MUSTER_CLOUD_ACTIVITY=0.

Subcommands

SubcommandDescription
login [--relay <url>] [--qr]Sign in through the browser (device code). --qr also prints a QR code (needs qrencode).
logoutForget the stored token on this machine.
status [--json]Show account, relay and connection status.
connectPair this server with Fleet Cloud: installs muster-agent and shows a code and QR to approve.
activity [--json] [--limit N]Recent deploys, rollbacks and restarts reported to your account (default 20, max 200).
notify test [--json]Send a test alert to your alert channels (Muster Pro).

Flags

cloud connect

FlagDescription
--name <n>Server name shown in Fleet Cloud.
--project <dir>Project directory on this server.
--relay <url>Relay URL.
--service | --no-serviceInstall (or skip) the agent as a system service.
--yesDon't ask for confirmation.

Environment

FlagDescription
MUSTER_CLOUD_RELAYRelay URL (default https://relay.getmuster.dev).
MUSTER_CLOUD_APIDashboard API (default https://cloud.getmuster.dev).
MUSTER_CLOUD_ACTIVITY=0Don't report deploy activity.
MUSTER_NO_BROWSER=1Don't try to open a browser.

Examples

Terminal
muster cloud login
muster cloud status
muster cloud connect --name prod-1 --project /opt/app
muster cloud activity --limit 50

Exit codes and JSON

status --json exits 0 even when you are logged out. Shapes: JSON API.