๐ Getting started
What is Kubernetes?โ
Kubernetes (often called K8s) runs your applications in containers. It keeps those containers running, moves them between machines, and starts new ones when needed.
That also means there are many moving parts. A container can run out of memory, a deployment can get stuck, or a service can lose its healthy backends.
What is kwatch?โ
kwatch is a source-available Kubernetes incident monitor. It turns failures into clear alerts that explain what broke, why it happened, and what to do next:
- ๐ Watch โ kwatch reads Kubernetes status, events, and recent logs.
- ๐ง Explain โ it connects the clues and finds the likely cause.
- ๐ฃ Alert โ it sends the reason, impact, and next step to your team.
kwatch runs in your own cluster. The Community edition is free and needs no account. Pro adds deeper detectors and analysis and is free during early access. Pair kwatch with Prometheus, Grafana, or Loki for long-term metrics and logs.
๐จ What an alert looks likeโ
Instead of only seeing CrashLoopBackOff, you get a message like:
๐จ OOMKilled โ production / orders-api
Pod: orders-api-7ffc9d4f9-x9p4t
Node: worker-3 ยท severity: high
๐ก Cause: the container exceeded its 512Mi memory limit.
โก๏ธ Next step: increase limits.memory or reduce memory usage.
๐ Recent logs and Kubernetes events are included.
๐ฏ What does kwatch watch?โ
Community covers the failures that page you most. Pro, marked below, adds the rest.
| Signal | What kwatch explains | Edition |
|---|---|---|
| ๐ฅ Pod crashes and OOM kills | Crash reason, restarts, root-cause headline and a next step | Community |
| โณ Pending pods | Why the scheduler cannot place a pod | Community |
| ๐ฅ๏ธ Nodes | NotReady nodes | Community |
| ๐ฅ๏ธ Node pressure, draining and usage | Disk or memory pressure and draining | Pro |
| ๐ Rollouts, readiness | Stuck rollouts and unavailable replicas | Pro |
| ๐งโ๐ผ Jobs and CronJobs, HPAs, PDBs | Failed, suspended or missed work, stuck autoscalers, blocked disruption | Pro |
| ๐พ Storage | Claim, volume and attachment failures, volumes nearly full | Pro |
| ๐ Services, Ingress, network policy | Missing or unhealthy backends | Pro |
| ๐ Certificates, admission, quota | Expiring certificates, webhook failures, exhausted quota | Pro |
| ๐๏ธ Control plane | API server, etcd, DNS, scheduler and controller-manager | Pro |
Pro also adds full root-cause proof, who changed what, impact, log excerpts, routing and threads. Active probes and the heartbeat monitor are opt-in. See Community vs Pro, the configuration guide, or the complete configuration reference.
๐ Install in minutesโ
1. Check your toolsโ
You need Bash, kubectl, curl, and cluster install permissions. Confirm
that kubectl can reach your cluster:
kubectl cluster-info
2. Run the managerโ
/bin/bash -c "$(curl -fsSL https://kwatch.dev/kwatch.sh)"
The manager asks where alerts should go, stores credentials safely in a Secret, installs kwatch, and verifies the installation.
3. Check the resultโ
kubectl get pods -n kwatch
You should see one kwatch pod with STATUS Running and READY 1/1. kwatch
runs as a single replica with its state on a small volume. If the pod or its
node fails, Kubernetes restarts it. Running more than one replica for high
availability is a Pro feature. ๐
4. Optional: add Proโ
Sign up for a free Pro license (early access), then run the same command again and choose License / Pro, then Add or replace key. See License.
๐ ๏ธ What next?โ
- Need the full lifecycle and troubleshooting guide? Read Installation.
- Want Slack, Discord, email, or PagerDuty? Open Channels.
- Want to change thresholds or silence known noise? Read Configuration.
- Want to understand the manager? Read kwatch.sh manager.
- Want the Pro features? Read Community vs Pro and License.
- Want to contribute code? Start with Contributing.
If you are unsure where to begin, install with the manager first. You can run it again later to configure, upgrade, check, or uninstall kwatch. โจ