Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sTopologyManagerPolicies ¶
type K8sTopologyManagerPolicies string
K8sTopologyPolicies are resource allocation policies constants
type K8sTopologyManagerScopes ¶
type K8sTopologyManagerScopes string
K8sTopologyScopes are constants which defines the granularity at which you would like resource alignment to be performed.
type TopologyManagerPolicy ¶
type TopologyManagerPolicy string
TopologyManagerPolicy constants which represent the current configuration for Topology manager policy and Topology manager scope in Kubelet config
const ( SingleNumaContainerScope TopologyManagerPolicy = "SingleNUMANodeContainerLevel" SingleNumaPodScope TopologyManagerPolicy = "SingleNUMANodePodLevel" Restricted TopologyManagerPolicy = "Restricted" BestEffort TopologyManagerPolicy = "BestEffort" None TopologyManagerPolicy = "None" )
func DetectTopologyPolicy ¶
func DetectTopologyPolicy(policy string, scope string) TopologyManagerPolicy
DetectTopologyPolicy returns TopologyManagerPolicy type which present both Topology manager policy and scope
Click to show internal directories.
Click to hide internal directories.