Commit Graph

9 Commits

Author SHA1 Message Date
Tim Allclair
3f4ef42e9a Move PodResizeStatus cache out of allocated state 2025-02-18 09:19:23 -08:00
Filipe Xavier
14c0bc19ac kubelet: improve allocated resources checkpointing
changed calls to set allocation from container level to pod level on status manager.
2025-02-06 09:20:39 -03:00
Kubernetes Prow Robot
6e3546228d Merge pull request #129895 from tallclair/refactor-allocation
Delete unused code: allocated state ClearState
2025-02-02 09:40:55 -08:00
Tim Allclair
424c7ca7e5 Remove unused ClearState function 2025-01-29 12:04:40 -08:00
Filipe Xavier
fd35f652d4 fix state mem constructor and adjust restoreState 2025-01-11 15:37:57 -03:00
Filipe Xavier
efdd6bea2e kubelet checkpoint: refactor state memory
refactor state mem constructor to accept the state as parameter
and SetPodAllocation to update a single pod.
2025-01-07 16:31:06 -03:00
Tim Allclair
ea53083c14 Don't checkpoint ResizeStatus 2024-11-05 15:48:35 -08:00
Tim Allclair
53aa727708 Checkpoint allocated requests and limits 2024-10-22 11:26:48 -07:00
Vinay Kulkarni
f2bd94a0de In-place Pod Vertical Scaling - core implementation
1. Core Kubelet changes to implement In-place Pod Vertical Scaling.
2. E2E tests for In-place Pod Vertical Scaling.
3. Refactor kubelet code and add missing tests (Derek's kubelet review)
4. Add a new hash over container fields without Resources field to allow feature gate toggling without restarting containers not using the feature.
5. Fix corner-case where resize A->B->A gets ignored
6. Add cgroup v2 support to pod resize E2E test.
KEP: /enhancements/keps/sig-node/1287-in-place-update-pod-resources

Co-authored-by: Chen Wang <Chen.Wang1@ibm.com>
2023-02-24 18:21:21 +00:00