Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for resizing on Kubernetes 1.32 #37

Merged
merged 2 commits into from
Jan 19, 2025
Merged

feat: add support for resizing on Kubernetes 1.32 #37

merged 2 commits into from
Jan 19, 2025

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.

1 participant