v1beta3

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1beta3

Index

Constants

View Source
const (
	// CPUBindPolicyDefault performs the default bind policy that specified in koord-scheduler configuration
	CPUBindPolicyDefault = CPUBindPolicy(extension.CPUBindPolicyDefault)
	// CPUBindPolicyFullPCPUs favor cpuset allocation that pack in few physical cores
	CPUBindPolicyFullPCPUs = CPUBindPolicy(extension.CPUBindPolicyFullPCPUs)
	// CPUBindPolicySpreadByPCPUs favor cpuset allocation that evenly allocate logical cpus across physical cores
	CPUBindPolicySpreadByPCPUs = CPUBindPolicy(extension.CPUBindPolicySpreadByPCPUs)
	// CPUBindPolicyConstrainedBurst constrains the CPU Shared Pool range of the Burstable Pod
	CPUBindPolicyConstrainedBurst = CPUBindPolicy(extension.CPUBindPolicyConstrainedBurst)
)

Variables

View Source
var (

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: schedschemev1beta3.GroupName, Version: "v1beta3"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_config_CoschedulingArgs_To_v1beta3_CoschedulingArgs

func Convert_config_CoschedulingArgs_To_v1beta3_CoschedulingArgs(in *config.CoschedulingArgs, out *CoschedulingArgs, s conversion.Scope) error

Convert_config_CoschedulingArgs_To_v1beta3_CoschedulingArgs is an autogenerated conversion function.

func Convert_config_DeviceShareArgs_To_v1beta3_DeviceShareArgs

func Convert_config_DeviceShareArgs_To_v1beta3_DeviceShareArgs(in *config.DeviceShareArgs, out *DeviceShareArgs, s conversion.Scope) error

Convert_config_DeviceShareArgs_To_v1beta3_DeviceShareArgs is an autogenerated conversion function.

func Convert_config_ElasticQuotaArgs_To_v1beta3_ElasticQuotaArgs

func Convert_config_ElasticQuotaArgs_To_v1beta3_ElasticQuotaArgs(in *config.ElasticQuotaArgs, out *ElasticQuotaArgs, s conversion.Scope) error

Convert_config_ElasticQuotaArgs_To_v1beta3_ElasticQuotaArgs is an autogenerated conversion function.

func Convert_config_LoadAwareSchedulingAggregatedArgs_To_v1beta3_LoadAwareSchedulingAggregatedArgs

func Convert_config_LoadAwareSchedulingAggregatedArgs_To_v1beta3_LoadAwareSchedulingAggregatedArgs(in *config.LoadAwareSchedulingAggregatedArgs, out *LoadAwareSchedulingAggregatedArgs, s conversion.Scope) error

Convert_config_LoadAwareSchedulingAggregatedArgs_To_v1beta3_LoadAwareSchedulingAggregatedArgs is an autogenerated conversion function.

func Convert_config_LoadAwareSchedulingArgs_To_v1beta3_LoadAwareSchedulingArgs

func Convert_config_LoadAwareSchedulingArgs_To_v1beta3_LoadAwareSchedulingArgs(in *config.LoadAwareSchedulingArgs, out *LoadAwareSchedulingArgs, s conversion.Scope) error

Convert_config_LoadAwareSchedulingArgs_To_v1beta3_LoadAwareSchedulingArgs is an autogenerated conversion function.

func Convert_config_NodeNUMAResourceArgs_To_v1beta3_NodeNUMAResourceArgs

func Convert_config_NodeNUMAResourceArgs_To_v1beta3_NodeNUMAResourceArgs(in *config.NodeNUMAResourceArgs, out *NodeNUMAResourceArgs, s conversion.Scope) error

Convert_config_NodeNUMAResourceArgs_To_v1beta3_NodeNUMAResourceArgs is an autogenerated conversion function.

func Convert_config_ReservationArgs_To_v1beta3_ReservationArgs

func Convert_config_ReservationArgs_To_v1beta3_ReservationArgs(in *config.ReservationArgs, out *ReservationArgs, s conversion.Scope) error

Convert_config_ReservationArgs_To_v1beta3_ReservationArgs is an autogenerated conversion function.

func Convert_config_ScoringStrategy_To_v1beta3_ScoringStrategy

func Convert_config_ScoringStrategy_To_v1beta3_ScoringStrategy(in *config.ScoringStrategy, out *ScoringStrategy, s conversion.Scope) error

Convert_config_ScoringStrategy_To_v1beta3_ScoringStrategy is an autogenerated conversion function.

func Convert_v1beta3_CoschedulingArgs_To_config_CoschedulingArgs

func Convert_v1beta3_CoschedulingArgs_To_config_CoschedulingArgs(in *CoschedulingArgs, out *config.CoschedulingArgs, s conversion.Scope) error

Convert_v1beta3_CoschedulingArgs_To_config_CoschedulingArgs is an autogenerated conversion function.

func Convert_v1beta3_DeviceShareArgs_To_config_DeviceShareArgs

func Convert_v1beta3_DeviceShareArgs_To_config_DeviceShareArgs(in *DeviceShareArgs, out *config.DeviceShareArgs, s conversion.Scope) error

Convert_v1beta3_DeviceShareArgs_To_config_DeviceShareArgs is an autogenerated conversion function.

func Convert_v1beta3_ElasticQuotaArgs_To_config_ElasticQuotaArgs

func Convert_v1beta3_ElasticQuotaArgs_To_config_ElasticQuotaArgs(in *ElasticQuotaArgs, out *config.ElasticQuotaArgs, s conversion.Scope) error

Convert_v1beta3_ElasticQuotaArgs_To_config_ElasticQuotaArgs is an autogenerated conversion function.

func Convert_v1beta3_LoadAwareSchedulingAggregatedArgs_To_config_LoadAwareSchedulingAggregatedArgs

func Convert_v1beta3_LoadAwareSchedulingAggregatedArgs_To_config_LoadAwareSchedulingAggregatedArgs(in *LoadAwareSchedulingAggregatedArgs, out *config.LoadAwareSchedulingAggregatedArgs, s conversion.Scope) error

Convert_v1beta3_LoadAwareSchedulingAggregatedArgs_To_config_LoadAwareSchedulingAggregatedArgs is an autogenerated conversion function.

func Convert_v1beta3_LoadAwareSchedulingArgs_To_config_LoadAwareSchedulingArgs

func Convert_v1beta3_LoadAwareSchedulingArgs_To_config_LoadAwareSchedulingArgs(in *LoadAwareSchedulingArgs, out *config.LoadAwareSchedulingArgs, s conversion.Scope) error

func Convert_v1beta3_NodeNUMAResourceArgs_To_config_NodeNUMAResourceArgs

func Convert_v1beta3_NodeNUMAResourceArgs_To_config_NodeNUMAResourceArgs(in *NodeNUMAResourceArgs, out *config.NodeNUMAResourceArgs, s conversion.Scope) error

Convert_v1beta3_NodeNUMAResourceArgs_To_config_NodeNUMAResourceArgs is an autogenerated conversion function.

func Convert_v1beta3_ReservationArgs_To_config_ReservationArgs

func Convert_v1beta3_ReservationArgs_To_config_ReservationArgs(in *ReservationArgs, out *config.ReservationArgs, s conversion.Scope) error

Convert_v1beta3_ReservationArgs_To_config_ReservationArgs is an autogenerated conversion function.

func Convert_v1beta3_ScoringStrategy_To_config_ScoringStrategy

func Convert_v1beta3_ScoringStrategy_To_config_ScoringStrategy(in *ScoringStrategy, out *config.ScoringStrategy, s conversion.Scope) error

Convert_v1beta3_ScoringStrategy_To_config_ScoringStrategy is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func SetDefaults_CoschedulingArgs

func SetDefaults_CoschedulingArgs(obj *CoschedulingArgs)

func SetDefaults_DeviceShareArgs

func SetDefaults_DeviceShareArgs(obj *DeviceShareArgs)

func SetDefaults_ElasticQuotaArgs

func SetDefaults_ElasticQuotaArgs(obj *ElasticQuotaArgs)

func SetDefaults_LoadAwareSchedulingArgs

func SetDefaults_LoadAwareSchedulingArgs(obj *LoadAwareSchedulingArgs)

SetDefaults_LoadAwareSchedulingArgs sets the default parameters for LoadAwareScheduling plugin.

func SetDefaults_NodeNUMAResourceArgs

func SetDefaults_NodeNUMAResourceArgs(obj *NodeNUMAResourceArgs)

SetDefaults_NodeNUMAResourceArgs sets the default parameters for NodeNUMANodeResource plugin.

func SetDefaults_ReservationArgs

func SetDefaults_ReservationArgs(obj *ReservationArgs)

func SetObjectDefaults_CoschedulingArgs

func SetObjectDefaults_CoschedulingArgs(in *CoschedulingArgs)

func SetObjectDefaults_DeviceShareArgs

func SetObjectDefaults_DeviceShareArgs(in *DeviceShareArgs)

func SetObjectDefaults_ElasticQuotaArgs

func SetObjectDefaults_ElasticQuotaArgs(in *ElasticQuotaArgs)

func SetObjectDefaults_LoadAwareSchedulingArgs

func SetObjectDefaults_LoadAwareSchedulingArgs(in *LoadAwareSchedulingArgs)

func SetObjectDefaults_NodeNUMAResourceArgs

func SetObjectDefaults_NodeNUMAResourceArgs(in *NodeNUMAResourceArgs)

func SetObjectDefaults_ReservationArgs

func SetObjectDefaults_ReservationArgs(in *ReservationArgs)

Types

type CPUBindPolicy

type CPUBindPolicy = string

CPUBindPolicy defines the CPU binding policy

type CPUExclusivePolicy

type CPUExclusivePolicy = extension.CPUExclusivePolicy
const (
	// CPUExclusivePolicyNone does not perform any exclusive policy
	CPUExclusivePolicyNone CPUExclusivePolicy = extension.CPUExclusivePolicyNone
	// CPUExclusivePolicyPCPULevel represents mutual exclusion in the physical core dimension
	CPUExclusivePolicyPCPULevel CPUExclusivePolicy = extension.CPUExclusivePolicyPCPULevel
	// CPUExclusivePolicyNUMANodeLevel indicates mutual exclusion in the NUMA topology dimension
	CPUExclusivePolicyNUMANodeLevel CPUExclusivePolicy = extension.CPUExclusivePolicyNUMANodeLevel
)

type CoschedulingArgs

type CoschedulingArgs struct {
	metav1.TypeMeta

	// DefaultTimeout is the default gang's waiting time in Permit stage
	// default is 600 seconds
	DefaultTimeout *metav1.Duration `json:"defaultTimeout,omitempty"`
	// Workers number of controller
	// default is 1
	ControllerWorkers *int64 `json:"controllerWorkers,omitempty"`
	// Skip check schedule cycle
	// default is false
	SkipCheckScheduleCycle *bool `json:"skipCheckScheduleCycle,omitempty"`
}

CoschedulingArgs defines the parameters for Gang Scheduling plugin.

func (*CoschedulingArgs) DeepCopy

func (in *CoschedulingArgs) DeepCopy() *CoschedulingArgs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoschedulingArgs.

func (*CoschedulingArgs) DeepCopyInto

func (in *CoschedulingArgs) DeepCopyInto(out *CoschedulingArgs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CoschedulingArgs) DeepCopyObject

func (in *CoschedulingArgs) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DeviceShareArgs

type DeviceShareArgs struct {
	metav1.TypeMeta

	// Allocator indicates the expected allocator to use
	// Deprecated: Adapting to different allocators is no longer supported.
	Allocator string `json:"allocator,omitempty"`
	// ScoringStrategy selects the device resource scoring strategy.
	ScoringStrategy *ScoringStrategy `json:"scoringStrategy,omitempty"`
	// DisableDeviceNUMATopologyAlignment indicates device don't need to align with other resources' numa topology
	DisableDeviceNUMATopologyAlignment bool `json:"disableDeviceNUMATopologyAlignment,omitempty"`
}

DeviceShareArgs defines the parameters for DeviceShare plugin.

func (*DeviceShareArgs) DeepCopy

func (in *DeviceShareArgs) DeepCopy() *DeviceShareArgs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceShareArgs.

func (*DeviceShareArgs) DeepCopyInto

func (in *DeviceShareArgs) DeepCopyInto(out *DeviceShareArgs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeviceShareArgs) DeepCopyObject

func (in *DeviceShareArgs) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ElasticQuotaArgs

type ElasticQuotaArgs struct {
	metav1.TypeMeta

	// DelayEvictTime is the duration to handle the jitter of used and runtime
	DelayEvictTime *metav1.Duration `json:"delayEvictTime,omitempty"`

	// RevokePodInterval is the interval to check quotaGroup's used and runtime
	RevokePodInterval *metav1.Duration `json:"revokePodInterval,omitempty"`

	// DefaultQuotaGroupMax limit the maxQuota of DefaultQuotaGroup
	DefaultQuotaGroupMax corev1.ResourceList `json:"defaultQuotaGroupMax,omitempty"`

	// SystemQuotaGroupMax limit the maxQuota of SystemQuotaGroup
	SystemQuotaGroupMax corev1.ResourceList `json:"systemQuotaGroupMax,omitempty"`

	// QuotaGroupNamespace is the namespace of the DefaultQuotaGroup
	QuotaGroupNamespace string `json:"quotaGroupNamespace,omitempty"`

	// MonitorAllQuotas monitor the quotaGroups' used and runtime Quota to revoke pods
	MonitorAllQuotas *bool `json:"monitorAllQuotas,omitempty"`

	// EnableCheckParentQuota check parentQuotaGroups' used and runtime Quota in PreFilter
	EnableCheckParentQuota *bool `json:"enableCheckParentQuota,omitempty"`

	// EnableRuntimeQuota if false, use max instead of runtime for all checks.
	EnableRuntimeQuota *bool `json:"enableRuntimeQuota,omitempty"`
}

ElasticQuotaArgs holds arguments used to configure the ElasticQuota plugin.

func (*ElasticQuotaArgs) DeepCopy

func (in *ElasticQuotaArgs) DeepCopy() *ElasticQuotaArgs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticQuotaArgs.

func (*ElasticQuotaArgs) DeepCopyInto

func (in *ElasticQuotaArgs) DeepCopyInto(out *ElasticQuotaArgs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ElasticQuotaArgs) DeepCopyObject

func (in *ElasticQuotaArgs) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type LoadAwareSchedulingAggregatedArgs

type LoadAwareSchedulingAggregatedArgs struct {
	// UsageThresholds indicates the resource utilization threshold of the machine based on percentile statistics
	UsageThresholds map[corev1.ResourceName]int64 `json:"usageThresholds,omitempty"`
	// UsageAggregationType indicates the percentile type of the machine's utilization when filtering
	UsageAggregationType extension.AggregationType `json:"usageAggregationType,omitempty"`
	// UsageAggregatedDuration indicates the statistical period of the percentile of the machine's utilization when filtering
	UsageAggregatedDuration *metav1.Duration `json:"usageAggregatedDuration,omitempty"`

	// ScoreAggregationType indicates the percentile type of the machine's utilization when scoring
	ScoreAggregationType extension.AggregationType `json:"scoreAggregationType,omitempty"`
	// ScoreAggregatedDuration indicates the statistical period of the percentile of Prod Pod's utilization when scoring
	ScoreAggregatedDuration *metav1.Duration `json:"scoreAggregatedDuration,omitempty"`
}

func (*LoadAwareSchedulingAggregatedArgs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadAwareSchedulingAggregatedArgs.

func (*LoadAwareSchedulingAggregatedArgs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoadAwareSchedulingArgs

type LoadAwareSchedulingArgs struct {
	metav1.TypeMeta `json:",inline"`

	// FilterExpiredNodeMetrics indicates whether to filter nodes where koordlet fails to update NodeMetric.
	FilterExpiredNodeMetrics *bool `json:"filterExpiredNodeMetrics,omitempty"`
	// NodeMetricExpirationSeconds indicates the NodeMetric expiration in seconds.
	// When NodeMetrics expired, the node is considered abnormal.
	// Default is 180 seconds.
	NodeMetricExpirationSeconds *int64 `json:"nodeMetricExpirationSeconds,omitempty"`
	// EnableScheduleWhenNodeMetricsExpired Indicates whether nodes with expired nodeMetrics are allowed to schedule pods.
	EnableScheduleWhenNodeMetricsExpired *bool `json:"enableScheduleWhenNodeMetricsExpired,omitempty"`
	// ResourceWeights indicates the weights of resources.
	// The weights of CPU and Memory are both 1 by default.
	ResourceWeights map[corev1.ResourceName]int64 `json:"resourceWeights,omitempty"`
	// UsageThresholds indicates the resource utilization threshold of the whole machine.
	// The default for CPU is 65%, and the default for memory is 95%.
	UsageThresholds map[corev1.ResourceName]int64 `json:"usageThresholds,omitempty"`
	// ProdUsageThresholds indicates the resource utilization threshold of Prod Pods compared to the whole machine.
	// Not enabled by default
	ProdUsageThresholds map[corev1.ResourceName]int64 `json:"prodUsageThresholds,omitempty"`
	// ScoreAccordingProdUsage controls whether to score according to the utilization of Prod Pod
	ScoreAccordingProdUsage *bool `json:"scoreAccordingProdUsage,omitempty"`
	// Estimator indicates the expected Estimator to use
	Estimator string `json:"estimator,omitempty"`
	// EstimatedScalingFactors indicates the factor when estimating resource usage.
	// The default value of CPU is 85%, and the default value of Memory is 70%.
	EstimatedScalingFactors map[corev1.ResourceName]int64 `json:"estimatedScalingFactors,omitempty"`
	// Aggregated supports resource utilization filtering and scoring based on percentile statistics
	Aggregated *LoadAwareSchedulingAggregatedArgs `json:"aggregated,omitempty"`
}

LoadAwareSchedulingArgs holds arguments used to configure the LoadAwareScheduling plugin.

func (*LoadAwareSchedulingArgs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadAwareSchedulingArgs.

func (*LoadAwareSchedulingArgs) DeepCopyInto

func (in *LoadAwareSchedulingArgs) DeepCopyInto(out *LoadAwareSchedulingArgs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*LoadAwareSchedulingArgs) DeepCopyObject

func (in *LoadAwareSchedulingArgs) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NUMAAllocateStrategy

type NUMAAllocateStrategy = extension.NUMAAllocateStrategy

NUMAAllocateStrategy indicates how to choose satisfied NUMA Nodes during binding CPUs

const (
	// NUMAMostAllocated indicates that allocates from the NUMA Node with the least amount of available resource.
	NUMAMostAllocated NUMAAllocateStrategy = extension.NUMAMostAllocated
	// NUMALeastAllocated indicates that allocates from the NUMA Node with the most amount of available resource.
	NUMALeastAllocated NUMAAllocateStrategy = extension.NUMALeastAllocated
	// NUMADistributeEvenly indicates that evenly distribute CPUs across NUMA Nodes.
	NUMADistributeEvenly NUMAAllocateStrategy = extension.NUMADistributeEvenly
)

type NodeNUMAResourceArgs

type NodeNUMAResourceArgs struct {
	metav1.TypeMeta

	// DefaultCPUBindPolicy represents the default CPU bind policy.
	// If it is empty and the Pod does not declare a binding policy,
	// the core will not be bound to the LSE/LSR type Pod.
	DefaultCPUBindPolicy *CPUBindPolicy `json:"defaultCPUBindPolicy,omitempty"`
	// ScoringStrategy is used to configure the scoring strategy of the node-level.
	ScoringStrategy *ScoringStrategy `json:"scoringStrategy,omitempty"`
	// NUMAScoringStrategy is used to configure the scoring strategy of the NUMANode-level
	NUMAScoringStrategy *ScoringStrategy `json:"numaScoringStrategy,omitempty"`
}

NodeNUMAResourceArgs holds arguments used to configure the NodeNUMAResource plugin.

func (*NodeNUMAResourceArgs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeNUMAResourceArgs.

func (*NodeNUMAResourceArgs) DeepCopyInto

func (in *NodeNUMAResourceArgs) DeepCopyInto(out *NodeNUMAResourceArgs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeNUMAResourceArgs) DeepCopyObject

func (in *NodeNUMAResourceArgs) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ReservationArgs

type ReservationArgs struct {
	metav1.TypeMeta

	// EnablePreemption indicates whether to enable preemption for reservations.
	EnablePreemption *bool `json:"enablePreemption,omitempty"`
}

ReservationArgs holds arguments used to configure the Reservation plugin.

func (*ReservationArgs) DeepCopy

func (in *ReservationArgs) DeepCopy() *ReservationArgs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReservationArgs.

func (*ReservationArgs) DeepCopyInto

func (in *ReservationArgs) DeepCopyInto(out *ReservationArgs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReservationArgs) DeepCopyObject

func (in *ReservationArgs) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ScoringStrategy

type ScoringStrategy struct {
	// Type selects which strategy to run.
	Type ScoringStrategyType `json:"type,omitempty"`

	// Resources a list of pairs <resource, weight> to be considered while scoring
	// allowed weights start from 1.
	Resources []schedconfigv1beta3.ResourceSpec `json:"resources,omitempty"`
}

ScoringStrategy define ScoringStrategyType for the plugin

func (*ScoringStrategy) DeepCopy

func (in *ScoringStrategy) DeepCopy() *ScoringStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScoringStrategy.

func (*ScoringStrategy) DeepCopyInto

func (in *ScoringStrategy) DeepCopyInto(out *ScoringStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScoringStrategyType

type ScoringStrategyType string

ScoringStrategyType is a "string" type.

const (
	// MostAllocated strategy favors node with the least amount of available resource
	MostAllocated ScoringStrategyType = "MostAllocated"
	// BalancedAllocation strategy favors nodes with balanced resource usage rate
	BalancedAllocation ScoringStrategyType = "BalancedAllocation"
	// LeastAllocated strategy favors node with the most amount of available resource
	LeastAllocated ScoringStrategyType = "LeastAllocated"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL