Documentation
¶
Index ¶
- Variables
- func AddAnnotationToNode(nodeName, key, value string)
- func AddLabelToNode(nodeName, key, value string)
- func CleanNodes()
- func GetAllSchedulableNodes(virtClient kubecli.KubevirtClient) *k8sv1.NodeList
- func GetArch() string
- func GetHighestCPUNumberAmongNodes(virtClient kubecli.KubevirtClient) int
- func GetNodeDrainKey() string
- func GetNodeWithHugepages(virtClient kubecli.KubevirtClient, hugepages k8sv1.ResourceName) *k8sv1.Node
- func GetNodesWithKVM() []*k8sv1.Node
- func RemoveLabelFromNode(nodeName string, key string)
- func Taint(nodeName string, key string, effect k8sv1.TaintEffect)
Constants ¶
This section is empty.
Variables ¶
View Source
var SchedulableNode = ""
Functions ¶
func AddAnnotationToNode ¶ added in v0.54.0
func AddAnnotationToNode(nodeName, key, value string)
func AddLabelToNode ¶
func AddLabelToNode(nodeName, key, value string)
func CleanNodes ¶
func CleanNodes()
func GetAllSchedulableNodes ¶
func GetAllSchedulableNodes(virtClient kubecli.KubevirtClient) *k8sv1.NodeList
func GetHighestCPUNumberAmongNodes ¶
func GetHighestCPUNumberAmongNodes(virtClient kubecli.KubevirtClient) int
func GetNodeDrainKey ¶
func GetNodeDrainKey() string
func GetNodeWithHugepages ¶
func GetNodeWithHugepages(virtClient kubecli.KubevirtClient, hugepages k8sv1.ResourceName) *k8sv1.Node
func GetNodesWithKVM ¶
func RemoveLabelFromNode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.