Skip to main content

๐Ÿ‘‹ 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:

  1. ๐Ÿ‘€ Watch โ€” kwatch reads Kubernetes status, events, and recent logs.
  2. ๐Ÿง  Explain โ€” it connects the clues and finds the likely cause.
  3. ๐Ÿ“ฃ 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.

SignalWhat kwatch explainsEdition
๐ŸŸฅ Pod crashes and OOM killsCrash reason, restarts, root-cause headline and a next stepCommunity
โณ Pending podsWhy the scheduler cannot place a podCommunity
๐Ÿ–ฅ๏ธ NodesNotReady nodesCommunity
๐Ÿ–ฅ๏ธ Node pressure, draining and usageDisk or memory pressure and drainingPro
๐Ÿš€ Rollouts, readinessStuck rollouts and unavailable replicasPro
๐Ÿง‘โ€๐Ÿ’ผ Jobs and CronJobs, HPAs, PDBsFailed, suspended or missed work, stuck autoscalers, blocked disruptionPro
๐Ÿ’พ StorageClaim, volume and attachment failures, volumes nearly fullPro
๐ŸŒ Services, Ingress, network policyMissing or unhealthy backendsPro
๐Ÿ” Certificates, admission, quotaExpiring certificates, webhook failures, exhausted quotaPro
๐Ÿ›๏ธ Control planeAPI server, etcd, DNS, scheduler and controller-managerPro

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?โ€‹

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. โœจ