OpenLensa Kubernetes IDE for macOS · free & open sourceI · The page

Production is on fire. Everyone is looking at you.Tonight, the cluster is yours.Let’s find out what’s wrong.

0 unread

Scroll to answer it

You start where everyone starts.

kubectl get pods

Two of them are crashing.

Which two? Why? Since when?

The answer is in here.

Line 19 of 40. You won’t see it yet.

Scroll. Squint. Scroll.

Logs are a wall. The wall is falling on you.

It’s 3:37.

Twenty-five minutes of reading. Customers still can’t pay.

Or you could just look at it.

The red one. Click it.

OpenLens — prod-eu-west-1 Connected

Pods

productionFilter pods…checkout-api · 5xx 38.2%
NameReadyRestartsCPUMemoryStatus

$ kubectl get pods -n production

NAME                            READY   STATUS             RESTARTS       AGE
api-gateway-7d8f9c-x2k4p        2/2     Running            0              2d
api-gateway-7d8f9c-m9q1z        2/2     Running            0              2d
cart-5c9d7b-4hj2k               1/1     Running            0              6h
checkout-api-6f7d9-2xkqp        0/1     CrashLoopBackOff   14 (2m ago)    3h
checkout-api-6f7d9-8zj2m        1/1     Running            3 (41m ago)    3h
checkout-api-6f7d9-q4t7n        0/1     CrashLoopBackOff   12 (58s ago)   3h
inventory-8b6f5-tt2mx           1/1     Running            0              1d
notifications-74c8d-p0lk3       1/1     Running            0              9h
orders-db-proxy-0               1/1     Running            0              12d
payments-worker-5d7b9-hh2v9     1/1     Running            1 (3h ago)     18h
payments-worker-5d7b9-kl8s1     1/1     Running            0              18h
recommendations-6c9f4-a81nd     1/1     Running            0              4d
search-9d5c8-2m4kq              1/1     Running            0              4d
session-store-0                 1/1     Running            0              12d

$ kubectl describe pod checkout-api-6f7d9-2xkqp -n production

Name:             checkout-api-6f7d9-2xkqp
Namespace:        production
Priority:         0
Service Account:  checkout-api
Node:             ip-10-0-27-118.eu-west-1.compute.internal/10.0.27.118
Start Time:       Tue, 24 Sep 2026 00:09:41 +0000
Labels:           app=checkout-api
                  pod-template-hash=6f7d9
Status:           Running
IP:               10.0.27.61
Controlled By:    ReplicaSet/checkout-api-6f7d9
Containers:
  checkout-api:
    Image:          ghcr.io/acme/checkout-api:2.9.0
    Port:           8080/TCP
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       OOMKilled
      Exit Code:    137
    Ready:          False
    Restart Count:  14
    Limits:
      cpu:     500m
      memory:  256Mi
    Requests:
      cpu:      250m
      memory:   256Mi
    Liveness:   http-get http://:8080/healthz delay=10s timeout=1s
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
QoS Class:       Guaranteed
Events:
  Type     Reason   Age                From     Message
  Normal   Pulled   4m (x15 over 3h)   kubelet  Container image already present
  Warning  BackOff  2m (x212 over 3h)  kubelet  Back-off restarting failed container

$ kubectl logs checkout-api-6f7d9-2xkqp -n production --previous

{"level":"info","ts":"00:04:11.201","msg":"listening","port":8080}
{"level":"info","ts":"00:04:12.955","msg":"db pool ready","size":20}
{"level":"info","ts":"00:04:13.402","msg":"POST /v1/checkout","status":201,"ms":38}
{"level":"info","ts":"00:04:13.719","msg":"GET /v1/cart/8812","status":200,"ms":12}
{"level":"info","ts":"00:04:14.090","msg":"POST /v1/checkout","status":201,"ms":41}
{"level":"warn","ts":"00:04:19.338","msg":"cart hydrate slow","ms":1840}
{"level":"info","ts":"00:04:21.004","msg":"GET /healthz","status":200,"ms":1}
{"level":"info","ts":"00:04:22.561","msg":"POST /v1/checkout","status":201,"ms":57}
{"level":"warn","ts":"00:04:31.870","msg":"cart hydrate slow","ms":2210}
{"level":"info","ts":"00:04:33.118","msg":"GET /v1/cart/9120","status":200,"ms":19}
{"level":"warn","ts":"00:04:44.902","msg":"cart hydrate slow","ms":3975}
{"level":"info","ts":"00:04:51.004","msg":"GET /healthz","status":200,"ms":2}
{"level":"warn","ts":"00:05:02.447","msg":"heap","used_mb":231,"limit_mb":256}
{"level":"warn","ts":"00:05:09.126","msg":"heap","used_mb":247,"limit_mb":256}

<--- Last few GCs --->
[1:0x5f2a3c0]  102113 ms: Mark-Compact 251.8 (258.1) -> 250.9 (258.4) MB
[1:0x5f2a3c0]  102871 ms: Mark-Compact 252.3 (258.4) -> 251.7 (259.1) MB

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0xb8ced0 node::Abort() [node]
 2: 0xa9a7c8 node::FatalError(char const*, char const*) [node]
 3: 0xd6c3fe v8::Utils::ReportOOMFailure(v8::internal::Isolate*) [node]

$ kubectl get events -n production --sort-by=.lastTimestamp

LAST SEEN   TYPE      REASON      OBJECT                         MESSAGE
4m          Normal    Pulled      pod/checkout-api-6f7d9-2xkqp   Container image already present
3m          Warning   BackOff     pod/checkout-api-6f7d9-q4t7n   Back-off restarting failed container
2m          Normal    Created     pod/checkout-api-6f7d9-2xkqp   Created container checkout-api
2m          Normal    Started     pod/checkout-api-6f7d9-2xkqp   Started container checkout-api
98s         Warning   Unhealthy   pod/checkout-api-6f7d9-8zj2m   Liveness probe failed: timeout
58s         Warning   BackOff     pod/checkout-api-6f7d9-2xkqp   Back-off restarting failed container
41s         Normal    Killing     pod/checkout-api-6f7d9-8zj2m   Container failed liveness probe

$ kubectl top pod -n production

error: Metrics API not available

$ kubectl edit deployment/checkout-api -n production

6:48 AM

Gobacktosleep.

OpenLens is a free, open-source Kubernetes IDE for macOS. It reads your kubeconfig, keeps every cluster call out of the UI, and stores no credentials. Next time the phone buzzes, start here.

OpenLens presents

3:12 AM

a short film about being on call

Starring

Pods

Deployments

ReplicaSets

Jobs & CronJobs

Nodes

And

The Service Map

as itself

Featuring

Logs, from many pods at once

A real shell, inside the container

Port forwards to localhost

Current load, node by node

ConfigMaps · Secrets · Events · Custom Resources

Guest appearance

RDS & Aurora, via CloudWatch

three read-only AWS calls. That’s all.

Security

Every cluster call stays in the main process

The window you click can’t touch your cluster.

Credentials stored

None

Filmed on location in

~/.kube/config

or wherever $KUBECONFIG points

Built with

Electron · React · TypeScript

@kubernetes/client-node

Licence

MIT

Fork it. Audit it. Ship it.

No clusters were harmed in the making of this film.

One pod was OOMKilled. It had it coming.

The Kubernetes IDE that gets you back to bed.

© 2026 OpenLens contributors · Independent open-source project · MIT