Documentation ¶
Overview ¶
Package v1beta3 is the v1beta3 version of the API.
Index ¶
- Variables
- func Convert_config_CoschedulingArgs_To_v1beta3_CoschedulingArgs(in *config.CoschedulingArgs, out *CoschedulingArgs, s conversion.Scope) error
- func Convert_config_EdgeScoringArgs_To_v1beta3_EdgeScoringArgs(in *config.EdgeScoringArgs, out *EdgeScoringArgs, s conversion.Scope) error
- func Convert_config_EdgeScoringTarget_To_v1beta3_EdgeScoringTarget(in *config.EdgeScoringTarget, out *EdgeScoringTarget, s conversion.Scope) error
- func Convert_config_LoadVariationRiskBalancingArgs_To_v1beta3_LoadVariationRiskBalancingArgs(in *config.LoadVariationRiskBalancingArgs, out *LoadVariationRiskBalancingArgs, ...) error
- func Convert_config_MetricProviderSpec_To_v1beta3_MetricProviderSpec(in *config.MetricProviderSpec, out *MetricProviderSpec, s conversion.Scope) error
- func Convert_config_NodeResourceTopologyMatchArgs_To_v1beta3_NodeResourceTopologyMatchArgs(in *config.NodeResourceTopologyMatchArgs, out *NodeResourceTopologyMatchArgs, ...) error
- func Convert_config_NodeResourcesAllocatableArgs_To_v1beta3_NodeResourcesAllocatableArgs(in *config.NodeResourcesAllocatableArgs, out *NodeResourcesAllocatableArgs, ...) error
- func Convert_config_PreemptionTolerationArgs_To_v1beta3_PreemptionTolerationArgs(in *config.PreemptionTolerationArgs, out *PreemptionTolerationArgs, ...) error
- func Convert_config_ScoringStrategy_To_v1beta3_ScoringStrategy(in *config.ScoringStrategy, out *ScoringStrategy, s conversion.Scope) error
- func Convert_config_TargetLoadPackingArgs_To_v1beta3_TargetLoadPackingArgs(in *config.TargetLoadPackingArgs, out *TargetLoadPackingArgs, ...) error
- func Convert_config_TrimaranSpec_To_v1beta3_TrimaranSpec(in *config.TrimaranSpec, out *TrimaranSpec, s conversion.Scope) error
- func Convert_v1beta3_CoschedulingArgs_To_config_CoschedulingArgs(in *CoschedulingArgs, out *config.CoschedulingArgs, s conversion.Scope) error
- func Convert_v1beta3_EdgeScoringArgs_To_config_EdgeScoringArgs(in *EdgeScoringArgs, out *config.EdgeScoringArgs, s conversion.Scope) error
- func Convert_v1beta3_EdgeScoringTarget_To_config_EdgeScoringTarget(in *EdgeScoringTarget, out *config.EdgeScoringTarget, s conversion.Scope) error
- func Convert_v1beta3_LoadVariationRiskBalancingArgs_To_config_LoadVariationRiskBalancingArgs(in *LoadVariationRiskBalancingArgs, out *config.LoadVariationRiskBalancingArgs, ...) error
- func Convert_v1beta3_MetricProviderSpec_To_config_MetricProviderSpec(in *MetricProviderSpec, out *config.MetricProviderSpec, s conversion.Scope) error
- func Convert_v1beta3_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs(in *NodeResourceTopologyMatchArgs, out *config.NodeResourceTopologyMatchArgs, ...) error
- func Convert_v1beta3_NodeResourcesAllocatableArgs_To_config_NodeResourcesAllocatableArgs(in *NodeResourcesAllocatableArgs, out *config.NodeResourcesAllocatableArgs, ...) error
- func Convert_v1beta3_PreemptionTolerationArgs_To_config_PreemptionTolerationArgs(in *PreemptionTolerationArgs, out *config.PreemptionTolerationArgs, ...) error
- func Convert_v1beta3_ScoringStrategy_To_config_ScoringStrategy(in *ScoringStrategy, out *config.ScoringStrategy, s conversion.Scope) error
- func Convert_v1beta3_TargetLoadPackingArgs_To_config_TargetLoadPackingArgs(in *TargetLoadPackingArgs, out *config.TargetLoadPackingArgs, ...) error
- func Convert_v1beta3_TrimaranSpec_To_config_TrimaranSpec(in *TrimaranSpec, out *config.TrimaranSpec, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func SetDefaultTrimaranSpec(args *TrimaranSpec)
- func SetDefaults_CoschedulingArgs(obj *CoschedulingArgs)
- func SetDefaults_EdgeScoringArgs(args *EdgeScoringArgs)
- 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_EdgeScoringArgs(in *EdgeScoringArgs)
- 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 EdgeScoringArgs
- type EdgeScoringTarget
- type LoadVariationRiskBalancingArgs
- type MetricProviderSpec
- type MetricProviderType
- type ModeType
- type NodeResourceTopologyMatchArgs
- type NodeResourcesAllocatableArgs
- type PreemptionTolerationArgs
- type ScoringStrategy
- type ScoringStrategyType
- type TargetLoadPackingArgs
- type TrimaranSpec
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: "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_EdgeScoringArgs_To_v1beta3_EdgeScoringArgs ¶
func Convert_config_EdgeScoringArgs_To_v1beta3_EdgeScoringArgs(in *config.EdgeScoringArgs, out *EdgeScoringArgs, s conversion.Scope) error
Convert_config_EdgeScoringArgs_To_v1beta3_EdgeScoringArgs is an autogenerated conversion function.
func Convert_config_EdgeScoringTarget_To_v1beta3_EdgeScoringTarget ¶
func Convert_config_EdgeScoringTarget_To_v1beta3_EdgeScoringTarget(in *config.EdgeScoringTarget, out *EdgeScoringTarget, s conversion.Scope) error
Convert_config_EdgeScoringTarget_To_v1beta3_EdgeScoringTarget is an autogenerated conversion function.
func Convert_config_LoadVariationRiskBalancingArgs_To_v1beta3_LoadVariationRiskBalancingArgs ¶
func Convert_config_LoadVariationRiskBalancingArgs_To_v1beta3_LoadVariationRiskBalancingArgs(in *config.LoadVariationRiskBalancingArgs, out *LoadVariationRiskBalancingArgs, s conversion.Scope) error
Convert_config_LoadVariationRiskBalancingArgs_To_v1beta3_LoadVariationRiskBalancingArgs is an autogenerated conversion function.
func Convert_config_MetricProviderSpec_To_v1beta3_MetricProviderSpec ¶
func Convert_config_MetricProviderSpec_To_v1beta3_MetricProviderSpec(in *config.MetricProviderSpec, out *MetricProviderSpec, s conversion.Scope) error
Convert_config_MetricProviderSpec_To_v1beta3_MetricProviderSpec is an autogenerated conversion function.
func Convert_config_NodeResourceTopologyMatchArgs_To_v1beta3_NodeResourceTopologyMatchArgs ¶
func Convert_config_NodeResourceTopologyMatchArgs_To_v1beta3_NodeResourceTopologyMatchArgs(in *config.NodeResourceTopologyMatchArgs, out *NodeResourceTopologyMatchArgs, s conversion.Scope) error
func Convert_config_NodeResourcesAllocatableArgs_To_v1beta3_NodeResourcesAllocatableArgs ¶
func Convert_config_NodeResourcesAllocatableArgs_To_v1beta3_NodeResourcesAllocatableArgs(in *config.NodeResourcesAllocatableArgs, out *NodeResourcesAllocatableArgs, s conversion.Scope) error
Convert_config_NodeResourcesAllocatableArgs_To_v1beta3_NodeResourcesAllocatableArgs is an autogenerated conversion function.
func Convert_config_PreemptionTolerationArgs_To_v1beta3_PreemptionTolerationArgs ¶
func Convert_config_PreemptionTolerationArgs_To_v1beta3_PreemptionTolerationArgs(in *config.PreemptionTolerationArgs, out *PreemptionTolerationArgs, s conversion.Scope) error
Convert_config_PreemptionTolerationArgs_To_v1beta3_PreemptionTolerationArgs 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_config_TargetLoadPackingArgs_To_v1beta3_TargetLoadPackingArgs ¶
func Convert_config_TargetLoadPackingArgs_To_v1beta3_TargetLoadPackingArgs(in *config.TargetLoadPackingArgs, out *TargetLoadPackingArgs, s conversion.Scope) error
Convert_config_TargetLoadPackingArgs_To_v1beta3_TargetLoadPackingArgs is an autogenerated conversion function.
func Convert_config_TrimaranSpec_To_v1beta3_TrimaranSpec ¶
func Convert_config_TrimaranSpec_To_v1beta3_TrimaranSpec(in *config.TrimaranSpec, out *TrimaranSpec, s conversion.Scope) error
Convert_config_TrimaranSpec_To_v1beta3_TrimaranSpec 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_EdgeScoringArgs_To_config_EdgeScoringArgs ¶
func Convert_v1beta3_EdgeScoringArgs_To_config_EdgeScoringArgs(in *EdgeScoringArgs, out *config.EdgeScoringArgs, s conversion.Scope) error
Convert_v1beta3_EdgeScoringArgs_To_config_EdgeScoringArgs is an autogenerated conversion function.
func Convert_v1beta3_EdgeScoringTarget_To_config_EdgeScoringTarget ¶
func Convert_v1beta3_EdgeScoringTarget_To_config_EdgeScoringTarget(in *EdgeScoringTarget, out *config.EdgeScoringTarget, s conversion.Scope) error
Convert_v1beta3_EdgeScoringTarget_To_config_EdgeScoringTarget is an autogenerated conversion function.
func Convert_v1beta3_LoadVariationRiskBalancingArgs_To_config_LoadVariationRiskBalancingArgs ¶
func Convert_v1beta3_LoadVariationRiskBalancingArgs_To_config_LoadVariationRiskBalancingArgs(in *LoadVariationRiskBalancingArgs, out *config.LoadVariationRiskBalancingArgs, s conversion.Scope) error
Convert_v1beta3_LoadVariationRiskBalancingArgs_To_config_LoadVariationRiskBalancingArgs is an autogenerated conversion function.
func Convert_v1beta3_MetricProviderSpec_To_config_MetricProviderSpec ¶
func Convert_v1beta3_MetricProviderSpec_To_config_MetricProviderSpec(in *MetricProviderSpec, out *config.MetricProviderSpec, s conversion.Scope) error
Convert_v1beta3_MetricProviderSpec_To_config_MetricProviderSpec is an autogenerated conversion function.
func Convert_v1beta3_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs ¶
func Convert_v1beta3_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs(in *NodeResourceTopologyMatchArgs, out *config.NodeResourceTopologyMatchArgs, s conversion.Scope) error
func Convert_v1beta3_NodeResourcesAllocatableArgs_To_config_NodeResourcesAllocatableArgs ¶
func Convert_v1beta3_NodeResourcesAllocatableArgs_To_config_NodeResourcesAllocatableArgs(in *NodeResourcesAllocatableArgs, out *config.NodeResourcesAllocatableArgs, s conversion.Scope) error
Convert_v1beta3_NodeResourcesAllocatableArgs_To_config_NodeResourcesAllocatableArgs is an autogenerated conversion function.
func Convert_v1beta3_PreemptionTolerationArgs_To_config_PreemptionTolerationArgs ¶
func Convert_v1beta3_PreemptionTolerationArgs_To_config_PreemptionTolerationArgs(in *PreemptionTolerationArgs, out *config.PreemptionTolerationArgs, s conversion.Scope) error
Convert_v1beta3_PreemptionTolerationArgs_To_config_PreemptionTolerationArgs 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 Convert_v1beta3_TargetLoadPackingArgs_To_config_TargetLoadPackingArgs ¶
func Convert_v1beta3_TargetLoadPackingArgs_To_config_TargetLoadPackingArgs(in *TargetLoadPackingArgs, out *config.TargetLoadPackingArgs, s conversion.Scope) error
Convert_v1beta3_TargetLoadPackingArgs_To_config_TargetLoadPackingArgs is an autogenerated conversion function.
func Convert_v1beta3_TrimaranSpec_To_config_TrimaranSpec ¶
func Convert_v1beta3_TrimaranSpec_To_config_TrimaranSpec(in *TrimaranSpec, out *config.TrimaranSpec, s conversion.Scope) error
Convert_v1beta3_TrimaranSpec_To_config_TrimaranSpec is an autogenerated conversion function.
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 SetDefaultTrimaranSpec ¶
func SetDefaultTrimaranSpec(args *TrimaranSpec)
SetDefaultTrimaranSpec sets the default parameters for common Trimaran plugins
func SetDefaults_CoschedulingArgs ¶
func SetDefaults_CoschedulingArgs(obj *CoschedulingArgs)
SetDefaults_CoschedulingArgs sets the default parameters for Coscheduling plugin.
func SetDefaults_EdgeScoringArgs ¶
func SetDefaults_EdgeScoringArgs(args *EdgeScoringArgs)
SetDefaults_EdgeScoringArgs sets the default parameter for EdgeScoringArgs
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_EdgeScoringArgs ¶
func SetObjectDefaults_EdgeScoringArgs(in *EdgeScoringArgs)
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"` }
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 EdgeScoringArgs ¶
type EdgeScoringArgs struct { metav1.TypeMeta `json:",inline"` // List of targets Targets []EdgeScoringTarget `json:"targets,omitempty"` }
EdgeScoringArgs configures EdgeScoring plugin
func (*EdgeScoringArgs) DeepCopy ¶
func (in *EdgeScoringArgs) DeepCopy() *EdgeScoringArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeScoringArgs.
func (*EdgeScoringArgs) DeepCopyInto ¶
func (in *EdgeScoringArgs) DeepCopyInto(out *EdgeScoringArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeScoringArgs) DeepCopyObject ¶
func (in *EdgeScoringArgs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EdgeScoringTarget ¶
type EdgeScoringTarget struct { NodeName string `json:"nodeName,omitempty"` IP string `json:"ip,omitempty"` Port string `json:"port,omitempty"` }
func (*EdgeScoringTarget) DeepCopy ¶
func (in *EdgeScoringTarget) DeepCopy() *EdgeScoringTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeScoringTarget.
func (*EdgeScoringTarget) DeepCopyInto ¶
func (in *EdgeScoringTarget) DeepCopyInto(out *EdgeScoringTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadVariationRiskBalancingArgs ¶
type LoadVariationRiskBalancingArgs struct { metav1.TypeMeta `json:",inline"` // Common parameters for trimaran plugins TrimaranSpec `json:",inline"` // 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 []schedulerconfigv1beta3.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 schedulerconfigv1beta3.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 []schedulerconfigv1beta3.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"` // Common parameters for trimaran plugins TrimaranSpec `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"` }
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.
type TrimaranSpec ¶
type TrimaranSpec struct { // Metric Provider specification when using load watcher as library MetricProvider MetricProviderSpec `json:"metricProvider,omitempty"` // Address of load watcher service WatcherAddress *string `json:"watcherAddress,omitempty"` }
TrimaranSpec holds common parameters for trimaran plugins
func (*TrimaranSpec) DeepCopy ¶
func (in *TrimaranSpec) DeepCopy() *TrimaranSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrimaranSpec.
func (*TrimaranSpec) DeepCopyInto ¶
func (in *TrimaranSpec) DeepCopyInto(out *TrimaranSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.