k8s

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// LabelAppName defines the app label
	LabelAppName = "app.kubernetes.io/name"
	// LabelAppManagedBy defines the managed-by label
	LabelAppManagedBy = "app.kubernetes.io/managed-by"
)
View Source
const EnvVarEnvoySidecarStatus = "ENVOY_SIDECAR_STATUS"
View Source
const EnvVarPodIP = "POD_IP"

EnvVarPodIP holds the POD's IP

Variables

This section is empty.

Functions

func ContainerShellCommand

func ContainerShellCommand() []string

ContainerShellCommand is helper factory method to create the shell command

func WaitForPodsToTerminate added in v0.10.0

func WaitForPodsToTerminate(k8sClient client.Client, namespace string, labels map[string]string) (err error)

WaitForPodsToTerminate wait for all the pods matching the labels to terminate

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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