annotations

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

View Source
const (
	// VpaObservedContainersLabel is a label used by the vpa observed containers annotation.
	VpaObservedContainersLabel = "vpaObservedContainers"
)

Variables

This section is empty.

Functions

func GetVpaObservedContainersValue

func GetVpaObservedContainersValue(pod *v1.Pod) string

GetVpaObservedContainersValue creates an annotation value for a given pod.

func ParseVpaObservedContainersValue

func ParseVpaObservedContainersValue(value string) ([]string, error)

ParseVpaObservedContainersValue returns list of containers based on a given vpa observed containers annotation value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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