K8s-Rightsizer

Applies Kubernetes rightsizing recommendations, rolling back on failure

A Go tool, deployed with Helm, that reads rightsizing recommendations from a spreadsheet, pre-checks each Deployment or StatefulSet, snapshots its resources, patches them and watches the rollout, restoring the snapshot on OOMKilled, CrashLoopBackOff, Unschedulable or timeout.

  • -36% costEKS cluster A, 30 days
  • -23% costEKS cluster B, 30 days

Trade-offs

  • Only RollingUpdate workloads are resized by default: OnDelete would never roll out and Recreate means full downtime, so both are skipped unless Recreate is opted in.
  • The workload strategy applies all of a workload's recommendations in one rollout, but a rollback loses them all; per-container restarts more often and loses only the last.
  • Concurrent workers speed up a run, but beyond about 20 they risk node pressure; 3 to 5 is the stated safe range.

Q&A2

Any new pod that hits OOMKilled, CrashLoopBackOff, ImagePullBackOff or Unschedulable, or isn't Ready within the timeout (3 minutes by default). It re-applies the snapshot, checks the workload is Ready again and marks the row as failed and rolled back.

Reviews

Loading reviews

    More in FinOps

    See all 7 →
    • Cost DeckKubernetes FinOps operator: cost per namespace, schedules and safe right-sizing
    • CostGoblinDesktop app for cloud cost analysis on local billing data and DuckDB
    • CatalystOpsEditor extension that catches PySpark performance problems before they run
    • piqcRead-only scanner for wasted GPU spend in Kubernetes inference clusters
    • FinFocusPrices Pulumi previews before deploy, with budgets enforced in CI
    • Cloud BenchSame benchmarks across clouds, with cost per point

    More in Kubernetes

    See all 13 →
    • rocketplaneIOSelf-hosted Kubernetes observability with transaction-gated agent actions
    • KatesPerformance, chaos and security testing for Kafka on Kubernetes
    • containixcontainerd shim that runs Nix flakes on Kubernetes without container images
    • kubeagentRead-only CLI that explains why Kubernetes pods are broken
    • kube32Kubernetes-compatible control plane for ESP32 microcontrollers
    • RubickDesktop Kubernetes client that says what it does not know

    More in Performance

    See all 47 →
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • EntrolyLocal context layer that picks what coding agents send to the model
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs