Skip to content

[Offloading] Support InPlacePodVerticalScaling feature (K8s >= 1.33) #3129

@fra98

Description

@fra98

Describe the problem you are having (if any)

The InPlacePodVerticalScaling feature (enabled by default starting from Kubernetes 1.33) allows for changing a pod's resource requests and limits without restarting the pod. This is a significant improvement for any workload sensitive to restarts, as it minimizes disruption.

Currently, Liqo does not support this feature. If a user attempts to resize an offloaded pod, the resource update is not propagated to the remote cluster. This can lead to inconsistencies between the local and remote pod, preventing users from leveraging this new feature.

Describe the solution you would like

When users attempt to resize offloaded pods:

  1. The remote ShadowPod should be updated with the new values for the fields that are allowed to change
  2. The remote shadowpod controller should update the remote pod accordingly
  3. The remote pod status should be reflected back to the local pod correctly

Describe the user value of this feature

Offloaded pods' resources will be resized without a restart, minimizing disruption and making the liqo virtual node UX more similar to upstream Kubernetes.

Describe your proposed solution

No response

Do you volunteer to implement this feature?

  • I want to implement this feature

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature proposalSuggest a feature to Liqorelease-1.1Feature that is planned to be integrated within a given Liqo release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions