Skip to content

Align kubelet resource reservations with AKS - #269

Draft
hbc (bcho) with Copilot wants to merge 3 commits into
mainfrom
copilot/set-system-reserve-kube-reserve
Draft

Align kubelet resource reservations with AKS#269
hbc (bcho) with Copilot wants to merge 3 commits into
mainfrom
copilot/set-system-reserve-kube-reserve

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Flex nodes need AKS-compatible system and Kubernetes resource reservations so node allocatable capacity reflects host resources and pod density.

  • AKS defaults
    • Calculate CPU reservation using AKS core-based tiers.
    • Calculate memory as min(20 Mi × maxPods + 50 Mi, 25% host memory).
    • Default system reservation to zero CPU and memory.
  • Configuration
    • Expose systemReserved and kubeReserved overrides.
    • Propagate maxPods into kubelet configuration.
  • Bootstrap
    • Use Unbounded’s kubelet configuration overlay support.
    • Document reservation defaults and overrides.
{
  "node": {
    "maxPods": 30,
    "kubelet": {
      "systemReserved": {
        "cpu": "50m",
        "memory": "100Mi"
      },
      "kubeReserved": {
        "cpu": "200m",
        "memory": "650Mi"
      }
    }
  }
}

Copilot AI linked an issue Aug 7, 2026 that may be closed by this pull request
Copilot AI and others added 2 commits August 7, 2026 22:21
Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
Copilot AI changed the title [WIP] Align system reserve settings for nodes Align kubelet resource reservations with AKS Aug 7, 2026
Copilot AI requested a review from hbc (bcho) August 7, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set system reserve / kube reserve for node

2 participants