package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package v1 contains scheduler API objects.
No description provided by the author

# Constants

CustomPriorityMaxScore is the max score UtilizationShapePoint expects.
DefaultPercentageOfNodesToScore defines the percentage of nodes of all nodes that once found feasible, the scheduler stops looking for more nodes.
NodeFieldSelectorKeyNodeName ('metadata.name') uses this as node field selector key when selecting node by node's name.
TaintExternalCloudProvider sets this taint on a node to mark it as unusable, when kubelet is started with the "external" cloud provider, until a controller from the cloud-controller-manager intitializes this node, and then removes the taint.
TaintNodeDiskPressure will be added when node has disk pressure and feature-gate for TaintNodesByCondition flag is enabled, and removed when node has enough disk.
TaintNodeMemoryPressure will be added when node has memory pressure and feature-gate for TaintNodesByCondition flag is enabled, and removed when node has enough memory.
TaintNodeNetworkUnavailable will be added when node's network is unavailable and feature-gate for TaintNodesByCondition flag is enabled, and removed when network becomes ready.
TaintNodeNotReady will be added when node is not ready and feature-gate for TaintBasedEvictions flag is enabled, and removed when node becomes ready.
TaintNodePIDPressure will be added when node has pid pressure and feature-gate for TaintNodesByCondition flag is enabled, and removed when node has enough disk.
TaintNodeShutdown when node is shutdown in external cloud provider.
TaintNodeUnreachable will be added when node becomes unreachable (corresponding to NodeReady status ConditionUnknown) and feature-gate for TaintBasedEvictions flag is enabled, and removed when node becomes reachable (NodeReady status ConditionTrue).
TaintNodeUnschedulable will be added when node becomes unschedulable and feature-gate for TaintNodesByCondition flag is enabled, and removed when node becomes scheduable.

# Variables

AddToScheme is used to add stored functions to scheme.
Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered.
SchemeBuilder defines a SchemeBuilder object.
SchemeGroupVersion is group version used to register these objects TODO this should be in the "scheduler" group.

# Structs

ExtenderConfig holds the parameters used to communicate with the extender.
ExtenderManagedResource describes the arguments of extended resources managed by an extender.
ExtenderTLSConfig contains settings to enable TLS with extender.
LabelPreference holds the parameters that are used to configure the corresponding priority function.
LabelsPresence holds the parameters that are used to configure the corresponding predicate in scheduler policy configuration.
Policy describes a struct of a policy resource in api.
PredicateArgument represents the arguments to configure predicate functions in scheduler policy configuration.
PredicatePolicy describes a struct of a predicate policy.
PriorityArgument represents the arguments to configure priority functions in scheduler policy configuration.
PriorityPolicy describes a struct of a priority policy.
RequestedToCapacityRatioArguments holds arguments specific to RequestedToCapacityRatio priority function.
ResourceSpec represents single resource for bin packing of priority RequestedToCapacityRatioArguments.
ServiceAffinity holds the parameters that are used to configure the corresponding predicate in scheduler policy configuration.
ServiceAntiAffinity holds the parameters that are used to configure the corresponding priority function.
UtilizationShapePoint represents single point of priority function shape.