annotations

package
v0.0.0-...-b80888c Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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