-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
area/vertical-pod-autoscalergood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/api-changeCategorizes issue or PR as related to adding, removing, or otherwise changing an APICategorizes issue or PR as related to adding, removing, or otherwise changing an API
Description
As discussed here, we plan to deprecate the Auto
value in the UpdateMode
field API.
Since a value cannot be removed from a GA API version, this deprecation will be a multi-step process. For now, until a new API version is introduced for the VPA, we will focus on providing clear warnings. More information on the deprecation policy can be found here.
- Documentation Updates - Modify the API reference and user guides to explicitly state that
UpdateMode: Auto
is deprecated and to recommend using other explicit values. The documentation should also link to this deprecation issue for more context. - Add API Warnings: Add deprecation warnings when
Auto
is used. - Add Log Messages: When a VPA controller processes a VPA object with
updateMode: Auto
, it should emit a clear log message indicating that this value is deprecated and will be removed in a future API version. - Add unit test: Create a new unit test that verifies the API server correctly returns the deprecation warning header when an object with
updateMode: Auto
is submitted.
/area vertical-pod-autoscaler
/good-first-issue
/kind api-change
Metadata
Metadata
Assignees
Labels
area/vertical-pod-autoscalergood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/api-changeCategorizes issue or PR as related to adding, removing, or otherwise changing an APICategorizes issue or PR as related to adding, removing, or otherwise changing an API