package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
CheckPolicyOptionAvailable verifies if the given option can be used depending on the Feature Gate Settings.
NewFakeManager creates empty/fake cpu manager.
NewManager creates new cpu manager based on provided policy.
NewNonePolicy returns a cpuset manager policy that does nothing.
NewStaticPolicy returns a CPU manager policy that does not change CPU assignments for exclusively pinned guaranteed containers after the main container process starts.
NewStaticPolicyOptions creates a StaticPolicyOptions struct from the user configuration.
ValidateStaticPolicyOptions ensures that the requested policy options are compatible with the machine on which the CPUManager is running.
# Constants
Names of the options, as part of the user interface.
Possible loop control outcomes.
Possible loop control outcomes.
Names of the options, as part of the user interface.
Names of the options, as part of the user interface.
ErrorSMTAlignment represents the type of an SMTAlignmentError.
Names of the options, as part of the user interface.
PolicyNone name of none policy.
PolicyStatic is the name of the static policy.
Names of the options, as part of the user interface.
Names of the options, as part of the user interface.
# Structs
SMTAlignmentError represents an error due to SMT alignment.
StaticPolicyOptions holds the parsed value of the policy options, ready to be consumed internally.
# Type aliases
ActivePodsFunc is a function that returns a list of pods to reconcile.
CPUSortingStrategy describes the CPU sorting solution within the socket scope.
LoopControl controls the behavior of the cpu accumulator loop logic.