diff --git a/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go b/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go index 31cb27e901bc..f49ebb36c6fe 100644 --- a/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go +++ b/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go @@ -199,5 +199,5 @@ const ( ProvisioningClassCheckCapacity string = "check-capacity.autoscaling.x-k8s.io" // ProvisioningClassAtomicScaleUp 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" ) diff --git a/cluster-autoscaler/provisioningrequest/orchestrator/orchestrator_test.go b/cluster-autoscaler/provisioningrequest/orchestrator/orchestrator_test.go index 44625effbb8e..ece104808f27 100644 --- a/cluster-autoscaler/provisioningrequest/orchestrator/orchestrator_test.go +++ b/cluster-autoscaler/provisioningrequest/orchestrator/orchestrator_test.go @@ -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. diff --git a/cluster-autoscaler/vendor/k8s.io/autoscaler/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/autoscaler/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go index 31cb27e901bc..f49ebb36c6fe 100644 --- a/cluster-autoscaler/vendor/k8s.io/autoscaler/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/autoscaler/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1/types.go @@ -199,5 +199,5 @@ const ( ProvisioningClassCheckCapacity string = "check-capacity.autoscaling.x-k8s.io" // ProvisioningClassAtomicScaleUp 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" )