Skip to content

Major Clean up with Pod Limits

Choose a tag to compare

@kmadel kmadel released this 28 Feb 13:22
· 5 commits to main since this release

Changelog (2026-02-28)

Changed

  • Simplified the Dockerfile by removing large inline heredoc scripts.
  • Switched to file-based startup scripts (files/*) for easier maintenance and review.
  • Startup now runs through podnode-entrypoint.sh, which launches allocatable clamping and then hands off to the original entrypoint.sh.

Added

  • Added support for pod-capacity sizing via PODNODE_PODS.
  • podnode-clamp-allocatable.sh now sets kubelet --max-pods when PODNODE_PODS is provided.
  • Added idempotent kubelet flag rewriting so repeated runs replace old values cleanly (CPU, memory, allocatable flags, cgroup flags, and max pods).

Improved

  • Clamping logic now waits for kubelet bootstrap flags file (/var/lib/kubelet/kubeadm-flags.env) and patches kubeadm args directly.
  • CPU and memory allocatable behavior remains driven by PODNODE_CPU and PODNODE_MEMORY.

Documentation

  • Updated README.md with:
    • Env-based node sizing (PODNODE_CPU, PODNODE_MEMORY, PODNODE_PODS)
    • Example env block
    • New section for vCluster Platform Auto Nodes + Pod NodeProvider integration and Terraform mapping from NodeType resources.