Documentation ¶
Index ¶
Constants ¶
View Source
const ( AreaCluster = "cluster" AreaKubelet = "kubelet" )
View Source
const ( ComponentConfiguration = "configuration" ComponentFeatureGates = "feature gates" ComponentCPUManager = "CPU manager" ComponentTopologyManager = "topology manager" )
View Source
const ( // these are the recommended values CPUManagerReconcilePeriodMin = 1 * time.Second CPUManagerReconcilePeriodMax = 10 * time.Second )
View Source
const ( ExpectedPodResourcesFeatureGate = "KubeletPodResourcesGetAllocatable" ExpectedCPUManagerPolicy = "static" ExpectedTopologyManagerPolicy = "single-numa-node" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidationResult ¶
type ValidationResult struct { Node string `json:"node"` Area string `json:"area"` Component string `json:"component"` Setting string `json:"setting"` Expected string `json:"expected"` Detected string `json:"detected"` }
func (ValidationResult) String ¶
func (vr ValidationResult) String() string
type Validator ¶
func (Validator) ValidateClusterConfig ¶
func (vd Validator) ValidateClusterConfig(nodes []corev1.Node) ([]ValidationResult, error)
func (Validator) ValidateNodeKubeletConfig ¶
func (vd Validator) ValidateNodeKubeletConfig(nodeName string, kubeletConf *kubeletconfigv1beta1.KubeletConfiguration) []ValidationResult
Click to show internal directories.
Click to hide internal directories.