Skip to content

Conversation

@jbtk
Copy link
Contributor

@jbtk jbtk commented Dec 19, 2025

What type of PR is this?

/kind feature

What this PR does / why we need it:

This will allow to detect situations where the loop starts and not ends (because of a health check for example).

Note that existing loop start metric is not enough because if we have autoscaler killed another autoscaler will take over role of the leader and again emit the metric of the main starting.

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Add new label to last_activity metric called "mainSuccessful" that is emitted after each full loop execution that finishes without errors.

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


autoscaler.

This will allow to detect situations where loop starts and not ends (because of a health check for example).

Note that existing loop start metric is not enough because if we have
autoscaler killed another autoscaler will take over role of the leader
and again emit the metric of the main starting.
@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. do-not-merge/needs-area labels Dec 19, 2025
@k8s-ci-robot k8s-ci-robot added area/cluster-autoscaler size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed do-not-merge/needs-area labels Dec 19, 2025
@x13n
Copy link
Member

x13n commented Dec 19, 2025

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 19, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jbtk, x13n

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 19, 2025
@k8s-ci-robot k8s-ci-robot merged commit 91bae6b into kubernetes:master Dec 19, 2025
8 checks passed
@jackfrancis
Copy link
Contributor

/cherry-pick cluster-autoscaler-release-1.35

@k8s-infra-cherrypick-robot

@jackfrancis: new pull request created: #8964

Details

In response to this:

/cherry-pick cluster-autoscaler-release-1.35

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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/cluster-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants