pod

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLWSVariables added in v0.3.0

func AddLWSVariables(pod *corev1.Pod) error

AddLWSVariables adds LWS_LEADER_ADDRESS environment variable to every container.

func ContainerRestarted

func ContainerRestarted(pod corev1.Pod) bool

ContainerRestarted return true when there is any container in the pod that gets restarted

func LeaderPod

func LeaderPod(pod corev1.Pod) bool

LeaderPod check is the pod is a leader pod

func PodDeleted

func PodDeleted(pod corev1.Pod) bool

PodDeleted checks if the worker pod has been deleted

func PodRunningAndReady

func PodRunningAndReady(pod corev1.Pod) bool

PodRunningAndReady checks if the pod condition is running and marked as ready.

Types

This section is empty.

Jump to

Keyboard shortcuts

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