Skip to content

Conversation

@adrianmoisey
Copy link
Member

What type of PR is this?

/kind feature
/kind api-change

What this PR does / why we need it:

Created due to #8705

This PR adds an AEP to improve the VPA's status conditions to give users a better way to monitor their VPAs. It also allows the e2e tests to be improved with looking for a status condition, rather than sleeping and watching the end result.

Which issue(s) this PR fixes:

N/A

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. release-note-none Denotes a PR that doesn't merit a release note. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-area size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 7, 2025
@adrianmoisey adrianmoisey force-pushed the aep-status-conditions branch from c0768dc to b984d62 Compare December 7, 2025 14:13
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrianmoisey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. area/vertical-pod-autoscaler size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed do-not-merge/needs-area size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 7, 2025
@0000854453
Copy link

copyright@2025 Gitlab.com

@k8s-triage-robot
Copy link

This PR may require API review.

If so, when the changes are ready, complete the pre-review checklist and request an API review.

Status of requested reviews is tracked in the API Review project.

@adrianmoisey adrianmoisey changed the title AEP: Standardize VPA status condition handling AEP-8898: Standardize VPA status condition handling Dec 9, 2025

### Add new conditions

In addition to changing existing conditions, this AEP also proposes to add new conditions. The purpose of this AEP is to retrofit conditions that should have always been there. The list is a work in progress and will be amended as new retrofitted conditions are required.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the list is a work in progress and will likely be updated, I think it is worth adding a Graduation Criteria section.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure what that section would say.

What do we considered "done" here? What conditions do we need?

I'm also not sure if there's value in graduating these changes. Can conditions be alpha? Why would they be?

Do you have any ideas?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the first phase should focus on fixing the current conditions (aligning with SIG Architecture) and adding any new conditions that are required. Once we determine that no further conditions are needed, we can promote this to beta.

My main concern is that we might add or change a condition and later remove or modify it, which could break third-party consumers that are relying on that condition.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My main concern is that we might add or change a condition and later remove or modify it, which could break third-party consumers that are relying on that condition.

Since most of this enhancement is discussing expanding existing conditions (setting status: False) it's a change that does not require going through beta stage. Same thing applies to entirely new conditions. But I agree with @omerap12 about adding and later removing conditions - here I'd advice caution. It's better to not add a new condition, than add them prematurely and then remove it afterwards, which might potentially break users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/vertical-pod-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants