package
0.0.0-20250123060244-3b77fb55b835
Repository: https://github.com/openshift/cluster-node-tuning-operator.git
Documentation: pkg.go.dev

# Functions

ContainerPid returns container process pid using crictl inspect command.
CpuManagerCpuSet returns cpu manager state file data.
ExecCommand returns the output of the command execution as a []byte.
GetAndRemoveCpuSiblingsFromMap function returns the cpus siblings associated with core Also updates the map by deleting the cpu siblings returned.
No description provided by the author
No description provided by the author
GetByLabels returns all nodes with the specified labels.
GetByName returns a node object by for a node name.
GetByRole returns all nodes with the specified role.
GetBySelector returns all nodes with the specified selector.
GetCoreSiblings returns the siblings of core per numa node.
No description provided by the author
GetDefaultSmpAffinitySet returns the default smp affinity mask for the node Warning: Please note that default smp affinity mask is not aware of offline cpus and will return the affinity bits for those as well.
GetKubeletConfig returns KubeletConfiguration loaded from the node /etc/kubernetes/kubelet.conf.
Get Node Ethernet/Virtual Interfaces.
GetNonPerformancesWorkers returns list of nodes with non matching performance profile labels.
GetNumaNodes returns the number of numa nodes and the associated cpus as list on the node.
GetNumaRanges function Splits the numa Siblings in to multiple Ranges Example for Cpu Siblings: 10,50,11,51,12,52,13,53,14,54 , will return 10-14,50-54.
GetOnlineCPUsSet returns the list of online (being scheduled) CPUs on the node.
GetSMTLevel returns the SMT level on the node using the given cpuID as target Use a random cpuID from the return value of GetOnlineCPUsSet if not sure.
HasPreemptRTKernel returns no error if the node booted with PREEMPT RT kernel.
MatchingOptionalSelector filter the given slice with only the nodes matching the optional selector.
TunedForNode find tuned pod for appropriate node.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
NodeCPU Structure.
Node Ether/virtual Interface.
NumaNodes defines cpus in each numa node.