Skip to content

Commit

Permalink
Merge pull request #7032 from yaroslava-serdiuk/api-update
Browse files Browse the repository at this point in the history
Update ProvisioningRequest API with the new name of scale-up provisioning class
  • Loading branch information
k8s-ci-robot authored Jul 12, 2024
2 parents 0ed4b01 + 8171e34 commit 71fd226
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const (
// ProvisioningClassCheckCapacity denotes that CA will check if current cluster state can fulfill this request,
// and reserve the capacity for a specified time.
ProvisioningClassCheckCapacity string = "check-capacity.autoscaling.x-k8s.io"
// ProvisioningClassAtomicScaleUp denotes that CA try to provision the capacity
// ProvisioningClassBestEffortAtomicScaleUp denotes that CA try to provision the capacity
// in an atomic manner.
ProvisioningClassAtomicScaleUp string = "atomic-scale-up.autoscaling.x-k8s.io"
ProvisioningClassBestEffortAtomicScaleUp string = "best-effort-atomic-scale-up.autoscaling.x-k8s.io"
)
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TestScaleUp(t *testing.T) {
CPU: "1",
Memory: "1",
PodCount: int32(5),
Class: v1beta1.ProvisioningClassAtomicScaleUp,
Class: v1beta1.ProvisioningClassBestEffortAtomicScaleUp,
})

// Already provisioned provisioning request - capacity should be booked before processing a new request.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 71fd226

Please sign in to comment.