Skip to content

feat(helm): Add resizePolicy support for in-place pod vertical scaling#1239

Open
younsl wants to merge 1 commit intoaws:mainfrom
younsl:feat/resize-policy
Open

feat(helm): Add resizePolicy support for in-place pod vertical scaling#1239
younsl wants to merge 1 commit intoaws:mainfrom
younsl:feat/resize-policy

Conversation

@younsl
Copy link
Contributor

@younsl younsl commented Feb 4, 2026

Allow configuring container restart policy for in-place resource resize on deployment and daemonset pods.

Issue #, if available:
N/A

Description of changes:
Add resizePolicy option to the Helm chart to support Kubernetes In-Place Pod Vertical Scaling feature.

Changes:

  • Add resizePolicy field to values.yaml (default: [])
  • Add resizePolicy template block to deployment.yaml, daemonset.linux.yaml, and daemonset.windows.yaml
  • Update README.md with resizePolicy parameter documentation

Example usage:

resizePolicy:
  - resourceName: cpu
    restartPolicy: NotRequired
  - resourceName: memory
    restartPolicy: RestartContainer

How you tested your changes:
Environment (Linux / Windows): Linux (Amazon Linux 2023)
Kubernetes Version: 1.34

Tested with helm template to verify the resizePolicy is correctly rendered:

helm template aws-node-termination-handler
./config/helm/aws-node-termination-handler \
  --set resizePolicy[0].resourceName=cpu \
  --set resizePolicy[0].restartPolicy=NotRequired

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Allow configuring container restart policy for in-place resource resize
on deployment and daemonset pods.

Signed-off-by: younsl <cysl@kakao.com>
@younsl younsl requested a review from a team as a code owner February 4, 2026 02:33
@younsl
Copy link
Contributor Author

younsl commented Feb 13, 2026

@LikithaVemulapalli PTAL

@github-actions
Copy link

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want this PR to never become stale, please ask a maintainer to apply the "stalebot-ignore" label.

@github-actions github-actions bot added the stale Issues / PRs with no activity label Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Issues / PRs with no activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant