kubernetes

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// ResmgrKeyNamespace is a CRI Resource Manager namespace
	ResmgrKeyNamespace = "cri-resource-manager.intel.com"

	// NamespaceSystem is the kubernetes system namespace.
	NamespaceSystem = core.NamespaceSystem
	// PodNameLabel is the label key for the kubernetes pod name.
	PodNameLabel = kubelet.KubernetesPodNameLabel
	// ContainerNameLabel is the label key for the kubernetes container name.
	ContainerNameLabel = kubelet.KubernetesContainerNameLabel
)

Variables

This section is empty.

Functions

func ResmgrKey

func ResmgrKey(name string) string

ResmgrKey returns a full namespaced name of a resource manager specific key

func ShortCPUSet added in v0.4.0

func ShortCPUSet(cset cpuset.CPUSet) string

ShortCPUSet prints the cpuset as a string, trying to further shorten compared to .String().

Types

This section is empty.

Jump to

Keyboard shortcuts

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