pod

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// Networking
	AnnotationKeyEgressBandwidth  = "kubernetes.io/egress-bandwidth"
	AnnotationKeyIngressBandwidth = "kubernetes.io/ingress-bandwidth"

	// Security
	AnnotationKeyIAMRole        = "iam.amazonaws.com/role"
	AnnotationKeySecurityGroups = "network.titus.netflix.com/securityGroups"
)
View Source
const (
	// High-level "domains" used for labels and annotations
	DomainNetflix = "netflix.com"
	DomainTitus   = "titus.netflix.com"
	DomainPod     = "pod.netflix.com"

	// Job details
	LabelKeyApp      = "netflix.com/applicationName"
	LabelKeyDetail   = "netflix.com/detail"
	LabelKeySequence = "netflix.com/sequence"
	LabelKeyStack    = "netflix.com/stack"

	LabelKeyByteUnitsEnabled = "pod.titus.netflix.com/byteUnits"
	LabelKeyCapacityGroup    = "titus.netflix.com/capacityGroup"
)

Variables

This section is empty.

Functions

func ByteUnitsEnabled

func ByteUnitsEnabled(pod *corev1.Pod) (bool, error)

Is the control plane indicating that it's sending the resources in bytes?

Types

This section is empty.

Jump to

Keyboard shortcuts

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