-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Fix ProvisioningRequest update #6777
Fix ProvisioningRequest update #6777
Conversation
4051e6b
to
fa43124
Compare
cluster-autoscaler/provisioningrequest/checkcapacity/processor.go
Outdated
Show resolved
Hide resolved
@@ -26,7 +26,7 @@ import ( | |||
|
|||
// ProvisioningRequestProcessor process ProvisioningRequests in the cluster. | |||
type ProvisioningRequestProcessor interface { | |||
Process([]*provreqwrapper.ProvisioningRequest) | |||
Process(*provreqclient.ProvisioningRequestClient, []*provreqwrapper.ProvisioningRequest) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not clearly related to this PR, but I think all processors are generally expected to take AutoscalingContext as first parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ProvisioningRequestProcessor doesn't depend on AutoscalingContext
cluster-autoscaler/provisioningrequest/checkcapacity/provisioningclass.go
Show resolved
Hide resolved
b8653f5
to
048b9fd
Compare
cluster-autoscaler/provisioningrequest/checkcapacity/provisioningclass.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment
cluster-autoscaler/provisioningrequest/checkcapacity/provisioningclass.go
Outdated
Show resolved
Hide resolved
048b9fd
to
d8df8d2
Compare
b4a878e
to
9a3da04
Compare
/assign @kisieland @aleksandra-malinowska @MaciekPytel Looks like all of you are reviewing this already. |
@x13n: GitHub didn't allow me to assign the following users: kisieland. Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
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. |
/lgtm |
@kisieland: changing LGTM is restricted to collaborators In response to this:
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. |
@kisieland maybe it's time for you to join k8s org :) |
/lgtm @x13n while this PR may have a lot of reviews, it's missing approvers |
cluster-autoscaler/provisioningrequest/orchestrator/orchestrator.go
Outdated
Show resolved
Hide resolved
cluster-autoscaler/provisioningrequest/checkcapacity/provisioningclass.go
Show resolved
Hide resolved
9a3da04
to
08a49c0
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: towca, yaroslava-serdiuk 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 |
@yaroslava-serdiuk: new pull request could not be created: failed to create pull request against kubernetes/autoscaler#cluster-autoscaler-1.30.0 from head k8s-infra-cherrypick-robot:cherry-pick-6777-to-cluster-autoscaler-1.30.0: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","field":"base","code":"invalid"}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#create-a-pull-request"} In response to this:
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. |
@yaroslava-serdiuk: cannot checkout In response to this:
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. |
/cherry-pick cluster-autoscaler-release-1.30 |
@yaroslava-serdiuk: new pull request created: #6825 In response to this:
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. |
What type of PR is this?
/kind bug
Implementation of ProvisioningRequest missed the real update of the object.