Blue-green and canary on Kubernetes, with nothing to install in the cluster.

A replay of real muster output. Canary tab: muster deploy api --version v1.4.2 starts v1.4.2 on acme-api-canary next to v1.4.1 on 10 replicas. At 10 percent one canary pod serves 10 percent; muster pauses and asks Rollout paused. What now? with Promote to 25%, Promote to 100%, Abort and Keep paused. At 25 percent three of ten pods serve 30 percent, shown as target 25%. Promoting to 100 percent copies v1.4.2 onto acme-api. Abort restores 100 percent to v1.4.1; Keep paused leaves it for muster promote api or muster abort api. Blue-green tab: the first deploy adopts acme-api as acme-api-blue, brings v1.4.2 up on green with 0 percent of traffic and a preview Service, then asks Preview is up. What now? Promote switches the Service acme-api to green; muster rollback api scales blue back up and switches the Service back. Pick menu options and the suggested commands to try each path.
acme-store — muster deploy api
~/acme-store ❯

Watch it in muster-tui. The rollout card shows stable and canary versions, pods, the traffic split with target vs actual weight, step dots and checks. Press p to promote, a to abort, w to watch live.

A muster-tui rollout card for api: canary v1.4.2 paused at 25% (serving 20%, 1 of 5 pods). p opens Promote api?, Next step shifts traffic to 50%, the checks pass and it pauses again at 50%.
acme-store — muster-tui
muster › api › Rollout3 healthyacme-store ⎇ main
Canary · paused at 25%3m05s
● Stable v1.4.1 api:v1.4.1 4/4 pods 80%
● Canary v1.4.2 api:v1.4.2 1/1 pods 20%
Traffic █████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
▲ target 25% · serving 20% (1 of 5 pods)
Step ●─○─○─○ 1 of 4
Next p promote to 50%
p promote · a abort · w watch · r refreshctrl+k commands

Your Deployments stay yours. Add a strategy to muster.json. muster creates the candidate from your live Deployment, scales it, runs the gates and shifts traffic. State is one ConfigMap per service.

A canary strategy in muster.json for the api service, and kubectl output showing the stable acme-api Deployment scaled from 4 to 3 next to acme-api-canary, with one muster-rollout ConfigMap and nothing else installed.
muster.json
"api": {
"k8s": { "deployment": "acme-api", "namespace": "prod" },
"strategy": {
"type": "canary",
"steps": [10, 25, 50, 100],
"pause": "manual",
"analysis": { "max_failures": 2, "max_restarts": 0 }
}
}

See every version that's live. rollout status shows each version's replicas, revision and traffic share, for canary and blue-green and for plain rolling updates too. The same data is in status --json.

muster rollout status web --watch redraws a rolling update: v1.4.1 (rs-14) goes from 75 to 50 to 0 percent of ready pods while v1.4.2 (rs-15) reaches 100 percent, then the state is idle and the watch exits.
acme-store — muster rollout status --watch

Ctrl+C never strands traffic. Interrupt a canary and traffic goes back to stable before muster exits. Promote or abort later from any machine that reaches the cluster, including CI with --json.

A canary deploy of api is at step 2 of 4 with 25 percent of traffic on v1.4.2 when Ctrl+C is pressed. muster restores 100% of traffic to v1.4.1 and reports the rollout cancelled; it exits 130 and history records cancelled.
acme-store — muster deploy api

Ship your next release a slice at a time.

Install muster