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.35.0-alpha.0
Published
Aug 2, 2025
Platform
windows/amd64
Imports
2 packages
Last checked
26 minutes ago

Tools for package owners.