Documentation
¶
Overview ¶
Package v1beta2 is the v1beta2 version of the API.
Index ¶
- Variables
- func Convert_config_CoschedulingArgs_To_v1beta2_CoschedulingArgs(in *config.CoschedulingArgs, out *CoschedulingArgs, s conversion.Scope) error
- func Convert_config_LoadVariationRiskBalancingArgs_To_v1beta2_LoadVariationRiskBalancingArgs(in *config.LoadVariationRiskBalancingArgs, out *LoadVariationRiskBalancingArgs, ...) error
- func Convert_config_MetricProviderSpec_To_v1beta2_MetricProviderSpec(in *config.MetricProviderSpec, out *MetricProviderSpec, s conversion.Scope) error
- func Convert_config_NodeResourceTopologyMatchArgs_To_v1beta2_NodeResourceTopologyMatchArgs(in *config.NodeResourceTopologyMatchArgs, out *NodeResourceTopologyMatchArgs, ...) error
- func Convert_config_NodeResourcesAllocatableArgs_To_v1beta2_NodeResourcesAllocatableArgs(in *config.NodeResourcesAllocatableArgs, out *NodeResourcesAllocatableArgs, ...) error
- func Convert_config_PreemptionTolerationArgs_To_v1beta2_PreemptionTolerationArgs(in *config.PreemptionTolerationArgs, out *PreemptionTolerationArgs, ...) error
- func Convert_config_ScoringStrategy_To_v1beta2_ScoringStrategy(in *config.ScoringStrategy, out *ScoringStrategy, s conversion.Scope) error
- func Convert_config_TargetLoadPackingArgs_To_v1beta2_TargetLoadPackingArgs(in *config.TargetLoadPackingArgs, out *TargetLoadPackingArgs, ...) error
- func Convert_v1beta2_CoschedulingArgs_To_config_CoschedulingArgs(in *CoschedulingArgs, out *config.CoschedulingArgs, s conversion.Scope) error
- func Convert_v1beta2_LoadVariationRiskBalancingArgs_To_config_LoadVariationRiskBalancingArgs(in *LoadVariationRiskBalancingArgs, out *config.LoadVariationRiskBalancingArgs, ...) error
- func Convert_v1beta2_MetricProviderSpec_To_config_MetricProviderSpec(in *MetricProviderSpec, out *config.MetricProviderSpec, s conversion.Scope) error
- func Convert_v1beta2_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs(in *NodeResourceTopologyMatchArgs, out *config.NodeResourceTopologyMatchArgs, ...) error
- func Convert_v1beta2_NodeResourcesAllocatableArgs_To_config_NodeResourcesAllocatableArgs(in *NodeResourcesAllocatableArgs, out *config.NodeResourcesAllocatableArgs, ...) error
- func Convert_v1beta2_PreemptionTolerationArgs_To_config_PreemptionTolerationArgs(in *PreemptionTolerationArgs, out *config.PreemptionTolerationArgs, ...) error
- func Convert_v1beta2_ScoringStrategy_To_config_ScoringStrategy(in *ScoringStrategy, out *config.ScoringStrategy, s conversion.Scope) error
- func Convert_v1beta2_TargetLoadPackingArgs_To_config_TargetLoadPackingArgs(in *TargetLoadPackingArgs, out *config.TargetLoadPackingArgs, ...) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func SetDefaults_CoschedulingArgs(obj *CoschedulingArgs)
- func SetDefaults_LoadVariationRiskBalancingArgs(args *LoadVariationRiskBalancingArgs)
- func SetDefaults_NodeResourceTopologyMatchArgs(obj *NodeResourceTopologyMatchArgs)
- func SetDefaults_NodeResourcesAllocatableArgs(obj *NodeResourcesAllocatableArgs)
- func SetDefaults_PreemptionTolerationArgs(obj *PreemptionTolerationArgs)
- func SetDefaults_TargetLoadPackingArgs(args *TargetLoadPackingArgs)
- func SetObjectDefaults_CoschedulingArgs(in *CoschedulingArgs)
- func SetObjectDefaults_LoadVariationRiskBalancingArgs(in *LoadVariationRiskBalancingArgs)
- func SetObjectDefaults_NodeResourceTopologyMatchArgs(in *NodeResourceTopologyMatchArgs)
- func SetObjectDefaults_NodeResourcesAllocatableArgs(in *NodeResourcesAllocatableArgs)
- func SetObjectDefaults_PreemptionTolerationArgs(in *PreemptionTolerationArgs)
- func SetObjectDefaults_TargetLoadPackingArgs(in *TargetLoadPackingArgs)
- type CoschedulingArgs
- type LoadVariationRiskBalancingArgs
- type MetricProviderSpec
- type MetricProviderType
- type ModeType
- type NodeResourceTopologyMatchArgs
- type NodeResourcesAllocatableArgs
- type PreemptionTolerationArgs
- type ScoringStrategy
- type ScoringStrategyType
- type TargetLoadPackingArgs
Constants ¶
This section is empty.
Variables ¶
var ( // Default 1 core CPU usage for containers without requests and limits i.e. Best Effort QoS. DefaultRequestsMilliCores int64 = 1000 // DefaultRequestsMultiplier for containers without limits predicted as 1.5*requests i.e. Burstable QoS class DefaultRequestsMultiplier = "1.5" // DefaultTargetUtilizationPercent Recommended to keep -10 than desired limit. DefaultTargetUtilizationPercent int64 = 40 // Risk is usually calculated as average (aka. mu) plus standard deviation (aka. sigma). // In order to allow customization in the calculation of risk, two parameters are provided: // Margin and Sensitivity. Margin is a multiplier of sigma, and Sensitivity is a root power of sigma. // For example, Margin=3 and Sensitivity=2 leads to a risk evaluated as: mu + 3 sqrt(sigma). // The default value for both parameters is 1, leading to: mu + sigma. // DefaultSafeVarianceMargin is one DefaultSafeVarianceMargin = 1.0 // DefaultSafeVarianceSensitivity is one DefaultSafeVarianceSensitivity = 1.0 // Defaults for MetricProviderSpec // DefaultMetricProviderType is the Kubernetes metrics server DefaultMetricProviderType = KubernetesMetricsServer // DefaultInsecureSkipVerify is whether to skip the certificate verification DefaultInsecureSkipVerify = true )
var (
// AddToScheme is a global function that registers this API group & version to a scheme
AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: schedconfig.GroupName, Version: "v1beta2"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_CoschedulingArgs_To_v1beta2_CoschedulingArgs ¶
func Convert_config_CoschedulingArgs_To_v1beta2_CoschedulingArgs(in *config.CoschedulingArgs, out *CoschedulingArgs, s conversion.Scope) error
Convert_config_CoschedulingArgs_To_v1beta2_CoschedulingArgs is an autogenerated conversion function.
func Convert_config_LoadVariationRiskBalancingArgs_To_v1beta2_LoadVariationRiskBalancingArgs ¶
func Convert_config_LoadVariationRiskBalancingArgs_To_v1beta2_LoadVariationRiskBalancingArgs(in *config.LoadVariationRiskBalancingArgs, out *LoadVariationRiskBalancingArgs, s conversion.Scope) error
func Convert_config_MetricProviderSpec_To_v1beta2_MetricProviderSpec ¶
func Convert_config_MetricProviderSpec_To_v1beta2_MetricProviderSpec(in *config.MetricProviderSpec, out *MetricProviderSpec, s conversion.Scope) error
Convert_config_MetricProviderSpec_To_v1beta2_MetricProviderSpec is an autogenerated conversion function.
func Convert_config_NodeResourceTopologyMatchArgs_To_v1beta2_NodeResourceTopologyMatchArgs ¶
func Convert_config_NodeResourceTopologyMatchArgs_To_v1beta2_NodeResourceTopologyMatchArgs(in *config.NodeResourceTopologyMatchArgs, out *NodeResourceTopologyMatchArgs, s conversion.Scope) error
func Convert_config_NodeResourcesAllocatableArgs_To_v1beta2_NodeResourcesAllocatableArgs ¶
func Convert_config_NodeResourcesAllocatableArgs_To_v1beta2_NodeResourcesAllocatableArgs(in *config.NodeResourcesAllocatableArgs, out *NodeResourcesAllocatableArgs, s conversion.Scope) error
Convert_config_NodeResourcesAllocatableArgs_To_v1beta2_NodeResourcesAllocatableArgs is an autogenerated conversion function.
func Convert_config_PreemptionTolerationArgs_To_v1beta2_PreemptionTolerationArgs ¶
func Convert_config_PreemptionTolerationArgs_To_v1beta2_PreemptionTolerationArgs(in *config.PreemptionTolerationArgs, out *PreemptionTolerationArgs, s conversion.Scope) error
Convert_config_PreemptionTolerationArgs_To_v1beta2_PreemptionTolerationArgs is an autogenerated conversion function.
func Convert_config_ScoringStrategy_To_v1beta2_ScoringStrategy ¶
func Convert_config_ScoringStrategy_To_v1beta2_ScoringStrategy(in *config.ScoringStrategy, out *ScoringStrategy, s conversion.Scope) error
Convert_config_ScoringStrategy_To_v1beta2_ScoringStrategy is an autogenerated conversion function.
func Convert_config_TargetLoadPackingArgs_To_v1beta2_TargetLoadPackingArgs ¶
func Convert_config_TargetLoadPackingArgs_To_v1beta2_TargetLoadPackingArgs(in *config.TargetLoadPackingArgs, out *TargetLoadPackingArgs, s conversion.Scope) error
func Convert_v1beta2_CoschedulingArgs_To_config_CoschedulingArgs ¶
func Convert_v1beta2_CoschedulingArgs_To_config_CoschedulingArgs(in *CoschedulingArgs, out *config.CoschedulingArgs, s conversion.Scope) error
func Convert_v1beta2_LoadVariationRiskBalancingArgs_To_config_LoadVariationRiskBalancingArgs ¶
func Convert_v1beta2_LoadVariationRiskBalancingArgs_To_config_LoadVariationRiskBalancingArgs(in *LoadVariationRiskBalancingArgs, out *config.LoadVariationRiskBalancingArgs, s conversion.Scope) error
func Convert_v1beta2_MetricProviderSpec_To_config_MetricProviderSpec ¶
func Convert_v1beta2_MetricProviderSpec_To_config_MetricProviderSpec(in *MetricProviderSpec, out *config.MetricProviderSpec, s conversion.Scope) error
Convert_v1beta2_MetricProviderSpec_To_config_MetricProviderSpec is an autogenerated conversion function.
func Convert_v1beta2_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs ¶
func Convert_v1beta2_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs(in *NodeResourceTopologyMatchArgs, out *config.NodeResourceTopologyMatchArgs, s conversion.Scope) error
func Convert_v1beta2_NodeResourcesAllocatableArgs_To_config_NodeResourcesAllocatableArgs ¶
func Convert_v1beta2_NodeResourcesAllocatableArgs_To_config_NodeResourcesAllocatableArgs(in *NodeResourcesAllocatableArgs, out *config.NodeResourcesAllocatableArgs, s conversion.Scope) error
Convert_v1beta2_NodeResourcesAllocatableArgs_To_config_NodeResourcesAllocatableArgs is an autogenerated conversion function.
func Convert_v1beta2_PreemptionTolerationArgs_To_config_PreemptionTolerationArgs ¶
func Convert_v1beta2_PreemptionTolerationArgs_To_config_PreemptionTolerationArgs(in *PreemptionTolerationArgs, out *config.PreemptionTolerationArgs, s conversion.Scope) error
Convert_v1beta2_PreemptionTolerationArgs_To_config_PreemptionTolerationArgs is an autogenerated conversion function.
func Convert_v1beta2_ScoringStrategy_To_config_ScoringStrategy ¶
func Convert_v1beta2_ScoringStrategy_To_config_ScoringStrategy(in *ScoringStrategy, out *config.ScoringStrategy, s conversion.Scope) error
Convert_v1beta2_ScoringStrategy_To_config_ScoringStrategy is an autogenerated conversion function.
func Convert_v1beta2_TargetLoadPackingArgs_To_config_TargetLoadPackingArgs ¶
func Convert_v1beta2_TargetLoadPackingArgs_To_config_TargetLoadPackingArgs(in *TargetLoadPackingArgs, out *config.TargetLoadPackingArgs, s conversion.Scope) error
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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)
SetDefaults_CoschedulingArgs sets the default parameters for Coscheduling plugin.
func SetDefaults_LoadVariationRiskBalancingArgs ¶
func SetDefaults_LoadVariationRiskBalancingArgs(args *LoadVariationRiskBalancingArgs)
SetDefaults_LoadVariationRiskBalancingArgs sets the default parameters for LoadVariationRiskBalancing plugin
func SetDefaults_NodeResourceTopologyMatchArgs ¶
func SetDefaults_NodeResourceTopologyMatchArgs(obj *NodeResourceTopologyMatchArgs)
SetDefaults_NodeResourceTopologyMatchArgs sets the default parameters for NodeResourceTopologyMatch plugin.
func SetDefaults_NodeResourcesAllocatableArgs ¶
func SetDefaults_NodeResourcesAllocatableArgs(obj *NodeResourcesAllocatableArgs)
SetDefaults_NodeResourcesAllocatableArgs sets the defaults parameters for NodeResourceAllocatable.
func SetDefaults_PreemptionTolerationArgs ¶
func SetDefaults_PreemptionTolerationArgs(obj *PreemptionTolerationArgs)
SetDefaults_PreemptionTolerationArgs reuses SetDefaults_DefaultPreemptionArgs
func SetDefaults_TargetLoadPackingArgs ¶
func SetDefaults_TargetLoadPackingArgs(args *TargetLoadPackingArgs)
SetDefaults_TargetLoadPackingArgs sets the default parameters for TargetLoadPacking plugin
func SetObjectDefaults_CoschedulingArgs ¶
func SetObjectDefaults_CoschedulingArgs(in *CoschedulingArgs)
func SetObjectDefaults_LoadVariationRiskBalancingArgs ¶
func SetObjectDefaults_LoadVariationRiskBalancingArgs(in *LoadVariationRiskBalancingArgs)
func SetObjectDefaults_NodeResourceTopologyMatchArgs ¶
func SetObjectDefaults_NodeResourceTopologyMatchArgs(in *NodeResourceTopologyMatchArgs)
func SetObjectDefaults_NodeResourcesAllocatableArgs ¶
func SetObjectDefaults_NodeResourcesAllocatableArgs(in *NodeResourcesAllocatableArgs)
func SetObjectDefaults_PreemptionTolerationArgs ¶
func SetObjectDefaults_PreemptionTolerationArgs(in *PreemptionTolerationArgs)
func SetObjectDefaults_TargetLoadPackingArgs ¶
func SetObjectDefaults_TargetLoadPackingArgs(in *TargetLoadPackingArgs)
Types ¶
type CoschedulingArgs ¶
type CoschedulingArgs struct { metav1.TypeMeta `json:",inline"` // PermitWaitingTimeSeconds is the waiting timeout in seconds. PermitWaitingTimeSeconds *int64 `json:"permitWaitingTimeSeconds,omitempty"` // DeniedPGExpirationTimeSeconds is the expiration time of the denied podgroup store. DeniedPGExpirationTimeSeconds *int64 `json:"deniedPGExpirationTimeSeconds,omitempty"` }
CoschedulingArgs defines the scheduling parameters for Coscheduling 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 LoadVariationRiskBalancingArgs ¶
type LoadVariationRiskBalancingArgs struct { metav1.TypeMeta `json:",inline"` // Metric Provider specification when using load watcher as library MetricProvider MetricProviderSpec `json:"metricProvider,omitempty"` // Address of load watcher service WatcherAddress *string `json:"watcherAddress,omitempty"` // Multiplier of standard deviation in risk value SafeVarianceMargin *float64 `json:"safeVarianceMargin,omitempty"` // Root power of standard deviation in risk value SafeVarianceSensitivity *float64 `json:"safeVarianceSensitivity,omitempty"` }
LoadVariationRiskBalancingArgs holds arguments used to configure LoadVariationRiskBalancing plugin.
func (*LoadVariationRiskBalancingArgs) DeepCopy ¶
func (in *LoadVariationRiskBalancingArgs) DeepCopy() *LoadVariationRiskBalancingArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadVariationRiskBalancingArgs.
func (*LoadVariationRiskBalancingArgs) DeepCopyInto ¶
func (in *LoadVariationRiskBalancingArgs) DeepCopyInto(out *LoadVariationRiskBalancingArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadVariationRiskBalancingArgs) DeepCopyObject ¶
func (in *LoadVariationRiskBalancingArgs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetricProviderSpec ¶
type MetricProviderSpec struct { // Types of the metric provider Type MetricProviderType `json:"type,omitempty"` // The address of the metric provider Address *string `json:"address,omitempty"` // The authentication token of the metric provider Token *string `json:"token,omitempty"` // Whether to enable the InsureSkipVerify options for https requests on Prometheus Metric Provider. InsecureSkipVerify *bool `json:"insecureSkipVerify,omitempty"` }
Denote the spec of the metric provider
func (*MetricProviderSpec) DeepCopy ¶
func (in *MetricProviderSpec) DeepCopy() *MetricProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricProviderSpec.
func (*MetricProviderSpec) DeepCopyInto ¶
func (in *MetricProviderSpec) DeepCopyInto(out *MetricProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricProviderType ¶
type MetricProviderType string
MetricProviderType is a "string" type.
const ( KubernetesMetricsServer MetricProviderType = "KubernetesMetricsServer" Prometheus MetricProviderType = "Prometheus" SignalFx MetricProviderType = "SignalFx" )
type NodeResourceTopologyMatchArgs ¶
type NodeResourceTopologyMatchArgs struct { metav1.TypeMeta `json:",inline"` // ScoringStrategy a scoring model that determine how the plugin will score the nodes. ScoringStrategy *ScoringStrategy `json:"scoringStrategy,omitempty"` // If > 0, enables the caching facilities of the reserve plugin - which must be enabled CacheResyncPeriodSeconds *int64 `json:"cacheResyncPeriodSeconds,omitempty"` }
NodeResourceTopologyMatchArgs holds arguments used to configure the NodeResourceTopologyMatch plugin
func (*NodeResourceTopologyMatchArgs) DeepCopy ¶
func (in *NodeResourceTopologyMatchArgs) DeepCopy() *NodeResourceTopologyMatchArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResourceTopologyMatchArgs.
func (*NodeResourceTopologyMatchArgs) DeepCopyInto ¶
func (in *NodeResourceTopologyMatchArgs) DeepCopyInto(out *NodeResourceTopologyMatchArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeResourceTopologyMatchArgs) DeepCopyObject ¶
func (in *NodeResourceTopologyMatchArgs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeResourcesAllocatableArgs ¶
type NodeResourcesAllocatableArgs struct { metav1.TypeMeta `json:",inline"` // Resources to be considered when scoring. // Allowed weights start from 1. // An example resource set might include "cpu" (millicores) and "memory" (bytes) // with weights of 1<<20 and 1 respectfully. That would mean 1 MiB has equivalent // weight as 1 millicore. Resources []schedulerconfigv1beta2.ResourceSpec `json:"resources,omitempty"` // Whether to prioritize nodes with least or most allocatable resources. Mode ModeType `json:"mode,omitempty"` }
NodeResourcesAllocatableArgs holds arguments used to configure NodeResourcesAllocatable plugin.
func (*NodeResourcesAllocatableArgs) DeepCopy ¶
func (in *NodeResourcesAllocatableArgs) DeepCopy() *NodeResourcesAllocatableArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResourcesAllocatableArgs.
func (*NodeResourcesAllocatableArgs) DeepCopyInto ¶
func (in *NodeResourcesAllocatableArgs) DeepCopyInto(out *NodeResourcesAllocatableArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeResourcesAllocatableArgs) DeepCopyObject ¶
func (in *NodeResourcesAllocatableArgs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PreemptionTolerationArgs ¶
type PreemptionTolerationArgs schedulerconfigv1beta2.DefaultPreemptionArgs
PreemptionTolerationArgs reuses DefaultPluginArgs.
func (*PreemptionTolerationArgs) DeepCopy ¶
func (in *PreemptionTolerationArgs) DeepCopy() *PreemptionTolerationArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreemptionTolerationArgs.
func (*PreemptionTolerationArgs) DeepCopyInto ¶
func (in *PreemptionTolerationArgs) DeepCopyInto(out *PreemptionTolerationArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PreemptionTolerationArgs) DeepCopyObject ¶
func (in *PreemptionTolerationArgs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScoringStrategy ¶
type ScoringStrategy struct { Type ScoringStrategyType `json:"type,omitempty"` Resources []schedulerconfigv1beta2.ResourceSpec `json:"resources,omitempty"` }
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" )
type TargetLoadPackingArgs ¶
type TargetLoadPackingArgs struct { metav1.TypeMeta `json:",inline"` // Default requests to use for best effort QoS DefaultRequests v1.ResourceList `json:"defaultRequests,omitempty"` // Default requests multiplier for busrtable QoS DefaultRequestsMultiplier *string `json:"defaultRequestsMultiplier,omitempty"` // Node target CPU Utilization for bin packing TargetUtilization *int64 `json:"targetUtilization,omitempty"` // Specify the metric provider type, address and token using MetricProviderSpec MetricProvider MetricProviderSpec `json:"metricProvider,omitempty"` // Address of load watcher service WatcherAddress *string `json:"watcherAddress,omitempty"` }
TargetLoadPackingArgs holds arguments used to configure TargetLoadPacking plugin.
func (*TargetLoadPackingArgs) DeepCopy ¶
func (in *TargetLoadPackingArgs) DeepCopy() *TargetLoadPackingArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetLoadPackingArgs.
func (*TargetLoadPackingArgs) DeepCopyInto ¶
func (in *TargetLoadPackingArgs) DeepCopyInto(out *TargetLoadPackingArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TargetLoadPackingArgs) DeepCopyObject ¶
func (in *TargetLoadPackingArgs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.