topologypolicy

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL