Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

28 changes: 0 additions & 28 deletions config/v1/types_scheduling.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ type SchedulerSpec struct {
// Defaults to "LowNodeUtilization"
// +optional
Profile SchedulerProfile `json:"profile,omitempty"`
// profileCustomizations contains configuration for modifying the default behavior of existing scheduler profiles.
// +openshift:enable:FeatureGate=DynamicResourceAllocation
// +optional
ProfileCustomizations ProfileCustomizations `json:"profileCustomizations"`
// defaultNodeSelector helps set the cluster-wide default node selector to
// restrict pod placement to specific nodes. This is applied to the pods
// created in all namespaces and creates an intersection with any existing
Expand Down Expand Up @@ -102,30 +98,6 @@ var (
NoScoring SchedulerProfile = "NoScoring"
)

// ProfileCustomizations contains various parameters for modifying the default behavior of certain profiles
type ProfileCustomizations struct {
// dynamicResourceAllocation allows to enable or disable dynamic resource allocation within the scheduler.
// Dynamic resource allocation is an API for requesting and sharing resources between pods and containers inside a pod.
// Third-party resource drivers are responsible for tracking and allocating resources.
// Different kinds of resources support arbitrary parameters for defining requirements and initialization.
// Valid values are Enabled, Disabled and omitted.
// When omitted, this means no opinion and the platform is left to choose a reasonable default,
// which is subject to change over time.
// The current default is Disabled.
// +optional
DynamicResourceAllocation DRAEnablement `json:"dynamicResourceAllocation"`
}

// +kubebuilder:validation:Enum:="";"Enabled";"Disabled"
type DRAEnablement string

var (
// DRAEnablementEnabled enables dynamic resource allocation feature
DRAEnablementEnabled DRAEnablement = "Enabled"
// DRAEnablementDisabled disables dynamic resource allocation feature
DRAEnablementDisabled DRAEnablement = "Disabled"
)

type SchedulerStatus struct {
}

Expand Down

This file was deleted.

This file was deleted.

Loading