muster doctor

muster doctor

Diagnose problems with the project and this machine, and fix what it can.

Synopsis

Terminal
muster doctor [flags]

Description

CategoryChecks
Platform & toolsOS, Docker, kubectl, jq, git, SSH
ConfigurationConfig file, hooks, services, health checks
Stack readinessDocker daemon, Kubernetes cluster, compose files
ConnectivitySSH remotes, fleet machines
Health & runtimeHealth endpoints, ports, timeouts
Storage & maintenanceLogs, PIDs, build context, disk space
Deploy readinessPorts, env vars, git state, stale locks
PerformanceTop speed-up from muster insights
EnvironmentFull muster env check (when an env store exists)

Safe fixes include file permissions, stale PIDs and locks, old logs and missing .dockerignore entries.

Flags

FlagDescription
--fixFix what it can: safe fixes run automatically, others (start Docker, free a port, …) ask first.
--yesWith --fix: run every available fix without asking.
--jsonOutput as JSON.
-h, --helpShow help.

Examples

Terminal
muster doctor
muster doctor --fix
muster doctor --fix --yes
muster --minimal doctor     # PASS/WARN/FAIL plain text

Exit codes and JSON

--json needs a read token. Output is grouped as Needs attention and Fine.