K8s Fleet
@twonines/k8s-fleetv2026.07.19.2
01README
Fleet-wide Kubernetes health across all kubeconfig contexts. Iterates every cluster in ~/.kube/config (or a specified subset) and produces per-cluster health snapshots plus an aggregated fleet summary. Best-effort — unreachable clusters are reported, not fatal.
02Models
@twonines/k8s-fleetv2026.07.19.2mod.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| kubeconfig? | string | Path to kubeconfig file. Defaults to ~/.kube/config. |
| contexts? | array | Limit to these context names. If omitted, all contexts are used. |
| timeout? | number | Per-context API timeout in seconds (default: 10). |
fn contexts()
List all kubeconfig contexts with cluster/user/namespace info
fn health()
Probe each context for node conditions, pod phase counts, and
fn summary()
Run health checks then aggregate into a single fleet summary:
Resources
context(1h)— Kubeconfig context metadata with reachability status
clusterHealth(30m)— Per-cluster health snapshot: node conditions, pod phase summary
fleetSummary(30m)— Aggregated fleet health across all probed clusters
03Previous Versions
2026.07.19.1
04Stats
A
100 / 100
Downloads
1
Archive size
490.9 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels