Quickstart

Quickstart

Set up muster in an existing project and deploy a service with a health check.

Before you start

  • muster installed (Installation).
  • A project with something to deploy: a Dockerfile, a compose file, Kubernetes manifests, or an app with a package.json, go.mod or requirements.txt.
  • The tools your stack needs (docker, kubectl…) on this machine.

Deploy your first service

  1. 1

    Set up the project

    Terminal
    cd your-project
    muster setup

    The wizard scans the project, proposes services and a deploy order, and writes muster.json plus one hook folder per service in .muster/hooks/. Without a terminal, use muster setup --scan; add --dry-run --json to preview.

  2. 2

    Review and approve the hooks

    Terminal
    muster hooks approve

    Hooks are shell scripts that run with your credentials, so each machine approves them before they run.

  3. 3

    Preview, then deploy

    Terminal
    muster deploy --dry-run
    muster deploy

    Each service runs its deploy.sh, then its health check. If one fails you see the last log lines, the likely cause and a menu: retry, roll back, skip or abort.

  4. 4

    Check on it

    Terminal
    muster status
    muster logs api --tail 200

    Run muster with no command for the dashboard.

If a deploy fails

Terminal
muster explain        # why the last deploy failed, offline
muster doctor --fix   # check the project and fix the safe things

Every failure muster recognises is listed in Troubleshooting.