migration

package
v1.135.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateVPAEmptyPatch

func MigrateVPAEmptyPatch(ctx context.Context, c client.Client, log logr.Logger) error

MigrateVPAEmptyPatch performs an empty patch updates to VerticalPodAutoscaler resources, that are elighible to adopt the InPlaceOrRecreate update mode, but are filtered out, because of the Resource Manager's alwaysUpdate=false configuration. TODO(vitanovs): Remove the migration once the VPAInPlaceUpdates feature gate is promoted to GA.

func MigrateVPAUpdateModeToRecreate

func MigrateVPAUpdateModeToRecreate(ctx context.Context, c client.Client, log logr.Logger) error

MigrateVPAUpdateModeToRecreate applies a patch to VerticalPodAutoscaler resources that sets their update modes to Recreate, in order to undo the change applied by a GRM mutation webhook. TODO(vitanovs): Remove the migration once the VPAInPlaceUpdates feature gate is promoted to GA.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL