InterPodAffinityArgs holds arguments used to configure the InterPodAffinity plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
InterPodAffinityArgs |
hardPodAffinityWeight
*
int32
|
HardPodAffinityWeight is the scoring weight for existing pods with a matching hard affinity to the incoming pod. |
KubeSchedulerConfiguration configures a scheduler
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
KubeSchedulerConfiguration |
leaderElection
*
LeaderElectionConfiguration
|
LeaderElection defines the configuration of leader election client. |
clientConnection
*
ClientConnectionConfiguration
|
ClientConnection specifies the kubeconfig file and client connection settings for the proxy server to use when communicating with the apiserver. |
healthzBindAddress
*
string
|
HealthzBindAddress is the IP address and port for the health check server to serve on, defaulting to 0.0.0.0:10251 |
metricsBindAddress
*
string
|
MetricsBindAddress is the IP address and port for the metrics server to serve on, defaulting to 0.0.0.0:10251. |
DebuggingConfiguration
*
DebuggingConfiguration
|
(Members of DebuggingConfiguration holds configuration for Debugging related features TODO: We might wanna make this a substruct like Debugging componentbaseconfigv1alpha1.DebuggingConfiguration |
percentageOfNodesToScore
*
int32
|
PercentageOfNodesToScore is the percentage of all nodes that once found feasible for running a pod, the scheduler stops its search for more feasible nodes in the cluster. This helps improve scheduler's performance. Scheduler always tries to find at least "minFeasibleNodesToFind" feasible nodes no matter what the value of this flag is. Example: if the cluster size is 500 nodes and the value of this flag is 30, then scheduler stops finding further feasible nodes once it finds 150 feasible ones. When the value is 0, default percentage (5%--50% based on the size of the cluster) of the nodes will be scored. |
podInitialBackoffSeconds
*
int64
|
PodInitialBackoffSeconds is the initial backoff for unschedulable pods. If specified, it must be greater than 0. If this value is null, the default value (1s) will be used. |
podMaxBackoffSeconds
*
int64
|
PodMaxBackoffSeconds is the max backoff for unschedulable pods. If specified, it must be greater than podInitialBackoffSeconds. If this value is null, the default value (10s) will be used. |
profiles
*
[]KubeSchedulerProfile
|
Profiles are scheduling profiles that kube-scheduler supports. Pods can choose to be scheduled under a particular profile by setting its associated scheduler name. Pods that don't specify any scheduler name are scheduled with the "default-scheduler" profile, if present here. |
extenders
*
[]Extender
|
Extenders are the list of scheduler extenders, each holding the values of how to communicate with the extender. These extenders are shared by all scheduler profiles. |
NodeLabelArgs holds arguments used to configure the NodeLabel plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
NodeLabelArgs |
presentLabels
*
[]string
|
PresentLabels should be present for the node to be considered a fit for hosting the pod |
absentLabels
*
[]string
|
AbsentLabels should be absent for the node to be considered a fit for hosting the pod |
presentLabelsPreference
*
[]string
|
Nodes that have labels in the list will get a higher score. |
absentLabelsPreference
*
[]string
|
Nodes that don't have labels in the list will get a higher score. |
NodeResourcesFitArgs holds arguments used to configure the NodeResourcesFit plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
NodeResourcesFitArgs |
ignoredResources
*
[]string
|
IgnoredResources is the list of resources that NodeResources fit filter should ignore. |
ignoredResourceGroups
*
[]string
|
IgnoredResourceGroups defines the list of resource groups that NodeResources fit filter should ignore. e.g. if group is ["example.com"], it will ignore all resource names that begin with "example.com", such as "example.com/aaa" and "example.com/bbb". A resource group name can't contain '/'. |
NodeResourcesLeastAllocatedArgs holds arguments used to configure NodeResourcesLeastAllocated plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
NodeResourcesLeastAllocatedArgs |
resources
*
[]ResourceSpec
|
Resources to be managed, if no resource is provided, default resource set with both the weight of "cpu" and "memory" set to "1" will be applied. Resource with "0" weight will not accountable for the final score. |
NodeResourcesMostAllocatedArgs holds arguments used to configure NodeResourcesMostAllocated plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
NodeResourcesMostAllocatedArgs |
resources
*
[]ResourceSpec
|
Resources to be managed, if no resource is provided, default resource set with both the weight of "cpu" and "memory" set to "1" will be applied. Resource with "0" weight will not accountable for the final score. |
PodTopologySpreadArgs holds arguments used to configure the PodTopologySpread plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
PodTopologySpreadArgs |
defaultConstraints
[]core/v1.TopologySpreadConstraint
|
DefaultConstraints defines topology spread constraints to be applied to
pods that don't define any in |
RequestedToCapacityRatioArgs holds arguments used to configure RequestedToCapacityRatio plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
RequestedToCapacityRatioArgs |
shape
*
[]UtilizationShapePoint
|
Points defining priority function shape |
resources
*
[]ResourceSpec
|
Resources to be managed |
ServiceAffinityArgs holds arguments used to configure the ServiceAffinity plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
ServiceAffinityArgs |
affinityLabels
*
[]string
|
AffinityLabels are homogeneous for pods that are scheduled to a node. (i.e. it returns true IFF this pod can be added to this node such that all other pods in the same service are running on nodes with the exact same values for Labels). |
antiAffinityLabelsPreference
*
[]string
|
AntiAffinityLabelsPreference are the labels to consider for service anti affinity scoring. |
VolumeBindingArgs holds arguments used to configure the VolumeBinding plugin.
| Field | Description |
|---|---|
apiVersionstring |
kubescheduler.config.k8s.io/v1beta1 |
kindstring |
VolumeBindingArgs |
bindTimeoutSeconds
*
int64
|
BindTimeoutSeconds is the timeout in seconds in volume binding operation. Value must be non-negative integer. The value zero indicates no waiting. If this value is nil, the default value (600) will be used. |
(Appears in: KubeSchedulerConfiguration)
Extender holds the parameters used to communicate with the extender. If a verb is unspecified/empty, it is assumed that the extender chose not to provide that extension.
| Field | Description |
|---|---|
urlPrefix
*
string
|
URLPrefix at which the extender is available |
filterVerb
*
string
|
Verb for the filter call, empty if not supported. This verb is appended to the URLPrefix when issuing the filter call to extender. |
preemptVerb
*
string
|
Verb for the preempt call, empty if not supported. This verb is appended to the URLPrefix when issuing the preempt call to extender. |
prioritizeVerb
*
string
|
Verb for the prioritize call, empty if not supported. This verb is appended to the URLPrefix when issuing the prioritize call to extender. |
weight
*
int64
|
The numeric multiplier for the node scores that the prioritize call generates. The weight should be a positive integer |
bindVerb
*
string
|
Verb for the bind call, empty if not supported. This verb is appended to the URLPrefix when issuing the bind call to extender. If this method is implemented by the extender, it is the extender's responsibility to bind the pod to apiserver. Only one extender can implement this function. |
enableHTTPS
*
bool
|
EnableHTTPS specifies whether https should be used to communicate with the extender |
tlsConfig
*
ExtenderTLSConfig
|
TLSConfig specifies the transport layer security config |
httpTimeout
*
meta/v1.Duration
|
HTTPTimeout specifies the timeout duration for a call to the extender. Filter timeout fails the scheduling of the pod. Prioritize timeout is ignored, k8s/other extenders priorities are used to select the node. |
nodeCacheCapable
*
bool
|
NodeCacheCapable specifies that the extender is capable of caching node information, so the scheduler should only send minimal information about the eligible nodes assuming that the extender already cached full details of all nodes in the cluster |
managedResources
[]ExtenderManagedResource
|
ManagedResources is a list of extended resources that are managed by this extender.
|
ignorable
*
bool
|
Ignorable specifies if the extender is ignorable, i.e. scheduling should not fail when the extender returns an error or is not reachable. |
(Appears in: KubeSchedulerConfiguration)
KubeSchedulerProfile is a scheduling profile.
| Field | Description |
|---|---|
schedulerName
*
string
|
SchedulerName is the name of the scheduler associated to this profile. If SchedulerName matches with the pod's "spec.schedulerName", then the pod is scheduled with this profile. |
plugins
*
Plugins
|
Plugins specify the set of plugins that should be enabled or disabled. Enabled plugins are the ones that should be enabled in addition to the default plugins. Disabled plugins are any of the default plugins that should be disabled. When no enabled or disabled plugin is specified for an extension point, default plugins for that extension point will be used if there is any. If a QueueSort plugin is specified, the same QueueSort Plugin and PluginConfig must be specified for all profiles. |
pluginConfig
*
[]PluginConfig
|
PluginConfig is an optional set of custom plugin arguments for each plugin. Omitting config args for a plugin is equivalent to using the default config for that plugin. |
(Appears in: PluginSet)
Plugin specifies a plugin name and its weight when applicable. Weight is used only for Score plugins.
| Field | Description |
|---|---|
name
*
string
|
Name defines the name of plugin |
weight
*
int32
|
Weight defines the weight of plugin, only used for Score plugins. |
(Appears in: KubeSchedulerProfile)
PluginConfig specifies arguments that should be passed to a plugin at the time of initialization. A plugin that is invoked at multiple extension points is initialized once. Args can have arbitrary structure. It is up to the plugin to process these Args.
| Field | Description |
|---|---|
name
*
string
|
Name defines the name of plugin being configured |
args
*
k8s.io/apimachinery/pkg/runtime.RawExtension
|
Args defines the arguments passed to the plugins at the time of initialization. Args can have arbitrary structure. |
(Appears in: Plugins)
PluginSet specifies enabled and disabled plugins for an extension point. If an array is empty, missing, or nil, default plugins at that extension point will be used.
| Field | Description |
|---|---|
enabled
*
[]Plugin
|
Enabled specifies plugins that should be enabled in addition to default plugins. These are called after default plugins and in the same order specified here. |
disabled
*
[]Plugin
|
Disabled specifies default plugins that should be disabled. When all default plugins need to be disabled, an array containing only one "*" should be provided. |
(Appears in: KubeSchedulerProfile)
Plugins include multiple extension points. When specified, the list of plugins for a particular extension point are the only ones enabled. If an extension point is omitted from the config, then the default set of plugins is used for that extension point. Enabled plugins are called in the order specified here, after default plugins. If they need to be invoked before default plugins, default plugins must be disabled and re-enabled here in desired order.
| Field | Description |
|---|---|
queueSort
*
PluginSet
|
QueueSort is a list of plugins that should be invoked when sorting pods in the scheduling queue. |
preFilter
*
PluginSet
|
PreFilter is a list of plugins that should be invoked at "PreFilter" extension point of the scheduling framework. |
filter
*
PluginSet
|
Filter is a list of plugins that should be invoked when filtering out nodes that cannot run the Pod. |
postFilter
*
PluginSet
|
PostFilter is a list of plugins that are invoked after filtering phase, no matter whether filtering succeeds or not. |
preScore
*
PluginSet
|
PreScore is a list of plugins that are invoked before scoring. |
score
*
PluginSet
|
Score is a list of plugins that should be invoked when ranking nodes that have passed the filtering phase. |
reserve
*
PluginSet
|
Reserve is a list of plugins invoked when reserving/unreserving resources after a node is assigned to run the pod. |
permit
*
PluginSet
|
Permit is a list of plugins that control binding of a Pod. These plugins can prevent or delay binding of a Pod. |
preBind
*
PluginSet
|
PreBind is a list of plugins that should be invoked before a pod is bound. |
bind
*
PluginSet
|
Bind is a list of plugins that should be invoked at "Bind" extension point of the scheduling framework. The scheduler call these plugins in order. Scheduler skips the rest of these plugins as soon as one returns success. |
postBind
*
PluginSet
|
PostBind is a list of plugins that should be invoked after a pod is successfully bound. |
(Appears in: NodeResourcesLeastAllocatedArgs, NodeResourcesMostAllocatedArgs, RequestedToCapacityRatioArgs)
ResourceSpec represents single resource and weight for bin packing of priority RequestedToCapacityRatioArguments.
| Field | Description |
|---|---|
name
*
string
|
Name of the resource to be managed by RequestedToCapacityRatio function. |
weight
*
int64
|
Weight of the resource. |
(Appears in: RequestedToCapacityRatioArgs)
UtilizationShapePoint represents single point of priority function shape.
| Field | Description |
|---|---|
utilization
*
int32
|
Utilization (x axis). Valid values are 0 to 100. Fully utilized node maps to 100. |
score
*
int32
|
Score assigned to given utilization (y axis). Valid values are 0 to 10. |
Generated with gendoc on git commit 7231496