Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RoleWorker contains the worker role RoleWorker = "worker" // RoleMaster contains the master role RoleMaster = "master" )
View Source
const ( // LabelRole contains the key for the role label LabelRole = "node-role.kubernetes.io" // LabelHostname contains the key for the hostname label LabelHostname = "kubernetes.io/hostname" )
View Source
const ( // NamespaceMachineConfigOperator contains the namespace of the machine-config-opereator NamespaceMachineConfigOperator = "openshift-machine-config-operator" // NamespaceTesting contains the name of the testing namespace NamespaceTesting = "performance-addon-operators-testing" )
View Source
const (
// ContainerMachineConfigDaemon contains the name of the machine-config-daemon container
ContainerMachineConfigDaemon = "machine-config-daemon"
)
View Source
const (
// FilePathKubeletConfig contains the kubelet.conf file path
FilePathKubeletConfig = "/etc/kubernetes/kubelet.conf"
)
Variables ¶
View Source
var NodeSelectorLabels map[string]string
NodeSelectorLabels contains the node labels the perfomance profile should match
View Source
var NodesSelector string
NodesSelector represents the label selector used to filter impacted nodes.
View Source
var PerformanceProfileName string
PerformanceProfileName contains the name of the PerformanceProfile created for tests or an existing profile when discover mode is enabled
View Source
var ProfileNotFound bool
ProfileNotFound is true when discovery mode is enabled and no valid profile was found
View Source
var RoleWorkerCNF string
RoleWorkerCNF contains role name of cnf worker nodes
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.