yceffort
05 POSTS

Debugging 2

  • ◆ Kubernetes for Frontend Developers Part 4
    #kubernetes#devops#debugging

    How Do Pods Terminate? Measuring the Causes and Fixes of Deploy-Time Errors

    Even a deploy that changes not a single line of code still fails requests. I tagged every failed request during rolling deploys by type and timestamp, found four causes, and added fixes one at a time until failures reached zero. The post also checks the actual Next.js shutdown code and the real CrashLoopBackOff restart intervals.

    Updated 20 min read
  • ◆ Kubernetes for Frontend Developers Part 3
    #kubernetes#networking#devops

    How Does Traffic Reach My Pod? From ClusterIP to port-forward

    A Service's ClusterIP is an IP attached to no machine, so how does a curl request reach a pod? In a kind cluster, this post inspects iptables rules and conntrack, EndpointSlice, cluster DNS and ndots, Gateway, and port-forward in turn to follow the path a request takes.

    27 min read
  • #memory#nodejs#v8

    A Guide to Node.js Memory Limits and Leak Tracking

    A look at V8's generational garbage collection, adjusting heap memory limits, and practical ways to diagnose memory leaks.

    7 min read
  • #error-handling#javascript#async

    Handling Uncaught Async Errors in JavaScript Correctly

    Why try...catch misses errors thrown in async functions, and how to handle every case: IIFEs, forEach, promise chains, constructors, event listeners, and global safety nets.

    12 min read
  • #ci-cd#git#devops

    Why GitHub Actions Cron Jobs Run Late, and What to Use Instead

    Why GitHub Actions scheduled workflows get delayed by dozens of minutes: the structural causes, and free alternatives that actually run on time.

    4 min read