Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: backport latest VMs pool and HasInstance() implementations and resolve inconsistencies in config and unit tests, for 1.29 #7202

Conversation

comtalyst
Copy link
Contributor

@comtalyst comtalyst commented Aug 22, 2024

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

These differences have effectively disabled cherry-pick automation in these areas. Upcoming changes (e.g., more VMs pool implementation, cloud-provider-azure integration rework, more fixes that need to be done in all versions) will be agonizing experiences, not to mention the past ones.
This PR will amend some of those differences, which is mostly VMs pool and HasInstance() implementations, as well as known inconsistencies in config and unit tests. The latter has known to bother us in various circumstances.
They cannot be cherry-picked in normal means easily due to conflict with Azure defork operations, which have to resolve these conflicts at some point anyway.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Original HasInstance() implementation PR: #6956
Differences visualization I used as a reference, with some labels: https://github.com/comtalyst/autoscaler/pull/5/files

Does this PR introduce a user-facing change?


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


… resolve inconsistencies in config and unit tests
@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 22, 2024
@k8s-ci-robot k8s-ci-robot added the area/provider/azure Issues or PRs related to azure provider label Aug 22, 2024
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 22, 2024
@comtalyst
Copy link
Contributor Author

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Aug 22, 2024
@k8s-ci-robot
Copy link
Contributor

@comtalyst: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-cluster-autoscaler-e2e-azure e266634 link false /test pull-cluster-autoscaler-e2e-azure

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@comtalyst comtalyst changed the title chore: backport latest VMs pool and HasInstance() implementations and resolve inconsistencies in config and unit tests chore: backport latest VMs pool and HasInstance() implementations and resolve inconsistencies in config and unit tests, for 1.29 Aug 23, 2024
@tallaxes
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 23, 2024
@comtalyst
Copy link
Contributor Author

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: comtalyst, tallaxes

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

The pull request process is described here

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

@comtalyst
Copy link
Contributor Author

/retest-required

@comtalyst
Copy link
Contributor Author

/retest

@comtalyst
Copy link
Contributor Author

/retest pull-cluster-autoscaler-e2e-azure

@k8s-ci-robot
Copy link
Contributor

@comtalyst: The /retest command does not accept any targets.
The following commands are available to trigger optional jobs:

  • /test pull-kubernetes-e2e-autoscaling-vpa-full

In response to this:

/retest pull-cluster-autoscaler-e2e-azure

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.

@comtalyst
Copy link
Contributor Author

/test pull-cluster-autoscaler-e2e-azure

@k8s-ci-robot
Copy link
Contributor

@comtalyst: The specified target(s) for /test were not found.
The following commands are available to trigger optional jobs:

  • /test pull-kubernetes-e2e-autoscaling-vpa-full

In response to this:

/test pull-cluster-autoscaler-e2e-azure

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.

@comtalyst
Copy link
Contributor Author

/retest

@nojnhuh
Copy link
Contributor

nojnhuh commented Aug 26, 2024

This job no longer exists for this branch as of kubernetes/test-infra#33361

/override pull-cluster-autoscaler-e2e-azure

@nojnhuh
Copy link
Contributor

nojnhuh commented Aug 26, 2024

This job no longer exists for this branch as of kubernetes/test-infra#33361

/override pull-cluster-autoscaler-e2e-azure

I suppose this command isn't registered for the repo? https://prow.k8s.io/command-help?repo=kubernetes%2Fautoscaler

I'll try making a fix in test-infra to add this back just as a stub so as not to block any PRs for the time being.

@comtalyst comtalyst closed this Aug 26, 2024
@comtalyst comtalyst reopened this Aug 26, 2024
@nojnhuh
Copy link
Contributor

nojnhuh commented Aug 26, 2024

/test pull-cluster-autoscaler-e2e-azure

@k8s-ci-robot k8s-ci-robot merged commit aa12b49 into kubernetes:cluster-autoscaler-release-1.29 Aug 26, 2024
10 of 11 checks passed
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/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants