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

Test two cases in k8s 1.32 about InPlacePodVerticalScaling #1841

Open
ABNER-1 opened this issue Nov 29, 2024 · 1 comment
Open

Test two cases in k8s 1.32 about InPlacePodVerticalScaling #1841

ABNER-1 opened this issue Nov 29, 2024 · 1 comment
Assignees

Comments

@ABNER-1
Copy link
Member

ABNER-1 commented Nov 29, 2024

I encountered two errors while adding e2e test cases:

  1. When modifying the image and increasing resources simultaneously, I encountered a RunContainerError. I have already submitted an issue to the Kubernetes community at [InPlacePodVerticalScaling]Got RunContainerError when patch pod image and resources kubernetes/kubernetes#127356.

  2. When I scaled the CPU limit of resources from 100m to 200m, I observed that occasionally the status was first changed by kubelet from 100m InProcess to 200m, and then it was set back to 100m InProcess by kubelet, and after a while, it finally became 200m.[InPlacePodVerticalScaling]kubelet sometimes set .status.resize incorrectly kubernetes/kubernetes#128993. This may be fixed by [FG:InPlacePodVerticalScaling] Rework handling of allocated resources kubernetes/kubernetes#128269.

Originally posted by @ABNER-1 in #1353 (comment)

Test These two cases in k8s 1.32 about InPlacePodVerticalScaling

@ABNER-1 ABNER-1 self-assigned this Nov 29, 2024
@ABNER-1
Copy link
Member Author

ABNER-1 commented Dec 19, 2024

We cannot directly test this logic in version 1.32 because Kubernetes has introduced the resize sub-resource, which prohibits users from updating resources through the update pod API.

We need to upgrade the Kubernetes package to version 1.32 and utilize either the resize or patch sub-resource API to resize the resource.

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

No branches or pull requests

1 participant