Skip to content

Conversation

@ctrox
Copy link
Owner

@ctrox ctrox commented Jan 19, 2025

The resizing of running pods has changed slighly with 1.32. There's a new feature gate that needs to be enabled to get the containerStatuses field. Also instead of just updating the pod spec, the resource update now needs to be done using the pods/resize subresource. To be compatible with 1.27-1.31, it will fall back to using a normal update call if the resize fails with a not found.

ctrox added 2 commits January 19, 2025 19:47
The resizing of running pods has changed slighly with 1.32. There's a
new feature gate that needs to be enabled to get the containerStatuses
field. Also instead of just updating the pod spec, the resource update
now needs to be done using the pods/resize subresource. To be compatible
with 1.27-1.31, it will fall back to using a normal update call if the
resize fails with a not found.
@ctrox ctrox merged commit b6ac5ca into main Jan 19, 2025
4 checks passed
@ctrox ctrox deleted the k8s-1.32 branch January 19, 2025 19:20
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.

2 participants