Operations

Health checks

Configure explicit endpoints or let Phelix select a safe fallback tier.

Configure health

Terminal
phelix health set myapp --path /health --interval 10s --retries 3 --mode auto
phelix health add myapp --name "API" --url https://api.example.com/health
phelix health list myapp

Deploy health tiers

TierTriggerAlive means
1Explicit --pathHTTP 2xx
2HTTP app without pathAny HTTP response
3 / TCPtcp-only or non-HTTPPort accepts connections
3 / PIDnone or workerProcess still exists

The --mode flag on health set controls the fallback strategy: auto (default), http, tcp-only, or none.

Watch status

Terminal
phelix health status myapp --watch
phelix health remove myapp --name "API"

--watch renders a live terminal dashboard that updates as health state changes.