mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-23 16:27:33 +00:00
This removes the DRAControlPlaneController feature gate, the fields controlled by it (claim.spec.controller, claim.status.deallocationRequested, claim.status.allocation.controller, class.spec.suitableNodes), the PodSchedulingContext type, and all code related to the feature. The feature gets removed because there is no path towards beta and GA and DRA with "structured parameters" should be able to replace it.
31 lines
1.1 KiB
Go
31 lines
1.1 KiB
Go
/*
|
|
Copyright 2021 The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package feature
|
|
|
|
// Features carries feature gate values used by various plugins.
|
|
// This struct allows us to break the dependency of the plugins on
|
|
// the internal k8s features pkg.
|
|
type Features struct {
|
|
EnableDynamicResourceAllocation bool
|
|
EnableVolumeCapacityPriority bool
|
|
EnableNodeInclusionPolicyInPodTopologySpread bool
|
|
EnableMatchLabelKeysInPodTopologySpread bool
|
|
EnableInPlacePodVerticalScaling bool
|
|
EnableSidecarContainers bool
|
|
EnableSchedulingQueueHint bool
|
|
}
|