AI-assisted, not vibe-coded. AI helps with code; every change is reviewed and committed by a human.
Read-only preflight analyzer for multi-node kubectl drain. Tells you what would block or put at risk a planned maintenance before you cordon anything.
Status: pre-alpha. Only the CLI flags are implemented; no analysis yet.
- A read-only Go CLI built on
client-go. It never cordons, evicts or modifies anything. - Findings are
BLOCKED,RISKorUNKNOWN. There is deliberately noSAFE.
- Not a controller.
- Not a scheduler simulator.
draincheck --nodes worker-02,worker-04 [--kubeconfig PATH] [--context NAME] [--output text|json]| Flag | Description | Default |
|---|---|---|
--nodes |
Nodes to drain, comma-separated, or '*' for all (required) |
none |
--kubeconfig |
Path to kubeconfig | standard loading rules |
--context |
Kubeconfig context | current context |
--output |
Output format: text or json |
text |
Linux, macOS and Windows binaries (amd64 and arm64) are on the releases page. Releases are signed with cosign (keyless) and ship SLSA provenance. Install and verification steps: docs/RELEASE.md.
go build -o draincheck ./cmd/draincheck
go test ./...Requires Go 1.26+.
Specification · CI · Release and verification
See CONTRIBUTING.md.
0 comments
log in to comment.