package feature
import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature"
Index ¶
Types ¶
type Features ¶
type Features struct { EnableDRAExtendedResource bool EnableDRAPrioritizedList bool EnableDRAAdminAccess bool EnableDRADeviceTaints bool EnableDRADeviceBindingConditions bool EnableDRAResourceClaimDeviceStatus bool EnableDRASchedulerFilterTimeout bool EnableDynamicResourceAllocation bool EnableVolumeAttributesClass bool EnableCSIMigrationPortworx bool EnableNodeInclusionPolicyInPodTopologySpread bool EnableMatchLabelKeysInPodTopologySpread bool EnableInPlacePodVerticalScaling bool EnableSidecarContainers bool EnableSchedulingQueueHint bool EnableAsyncPreemption bool EnablePodLevelResources bool EnablePartitionableDevices bool EnableStorageCapacityScoring bool EnableConsumableCapacity bool }
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.
func NewSchedulerFeaturesFromGates ¶
func NewSchedulerFeaturesFromGates(featureGate featuregate.FeatureGate) Features
NewSchedulerFeaturesFromGates copies the current state of the feature gates into the struct.
Source Files ¶
feature.go
- Version
- v1.34.0-rc.0
- Published
- Aug 6, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 minute ago –
Tools for package owners.