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
Filipe Xavier
f7df3ec07f
move log restored state to better location.
2025-01-30 12:06:12 -04: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
yunwang0911
f428881ec0
Update pkg/kubelet/status/state/state_checkpoint_test.go
2024-10-31 14:02:35 +08:00
yunwang0911
05493c0924
Update pkg/kubelet/status/state/state_checkpoint_test.go
...
Co-authored-by: Tim Allclair <timallclair@gmail.com >
2024-10-30 18:11:10 +08:00
yunwang0911
e4c8eefeb2
Update pkg/kubelet/status/state/state_checkpoint_test.go
...
Co-authored-by: Tim Allclair <timallclair@gmail.com >
2024-10-30 18:08:53 +08:00
yunwang
b00f221a85
fix InPlacePodVerticalScaling restore bug: the content wrote to and read from file pod_status are different
2024-10-29 13:39:58 +08:00
yunwang0911
114d4df4b4
Update pkg/kubelet/status/state/state_checkpoint.go
...
Co-authored-by: Tim Allclair <timallclair@gmail.com >
2024-10-29 11:39:54 +08:00
yunwang0911
8edc80c470
Update pkg/kubelet/status/state/state_checkpoint_test.go
...
Co-authored-by: Tim Allclair <timallclair@gmail.com >
2024-10-29 11:39:41 +08:00
yunwang0911
9d18e900c8
Update pkg/kubelet/status/state/checkpoint.go
...
Co-authored-by: Tim Allclair <timallclair@gmail.com >
2024-10-29 11:39:32 +08:00
yunwang0911
b67a5623b1
Update pkg/kubelet/status/state/checkpoint.go
...
Co-authored-by: Tim Allclair <timallclair@gmail.com >
2024-10-29 11:39:18 +08:00
yunwang
cf8cdaf5a7
fix InPlacePodVerticalScaling restore bug: the content wrote to and read from file pod_status are different
2024-10-28 14:50:06 +08:00
Tim Allclair
53aa727708
Checkpoint allocated requests and limits
2024-10-22 11:26:48 -07:00
vinay kulkarni
1e01358ea2
Initialize pod resource allocation checkpoint manager to noop
...
This avoids accidentally introducing null pointer access if manager
functions were called outside of InPlacePodVerticalScaling feature gate.
2023-03-13 00:16:44 +00: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