Skip to content

Commit

Permalink
Merge pull request kubernetes#6854 from aleksandra-malinowska/best-ef…
Browse files Browse the repository at this point in the history
…fort-atomic-api

Update ProvisioningRequest API with the new name of scale-up provisioning class
  • Loading branch information
k8s-ci-robot authored May 22, 2024
2 parents fda462d + 637b96d commit 4d88323
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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

0 comments on commit 4d88323

Please sign in to comment.