pod

package
v0.0.0-...-30e57c9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// DaemonSetPodAnnotationKey - annotation use to informs the cluster-autoscaler controller when a pod needs to be considered as a Daemonset's Pod.
	DaemonSetPodAnnotationKey = "cluster-autoscaler.kubernetes.io/daemonset-pod"
)

Variables

This section is empty.

Functions

func ClearPodNodeNames

func ClearPodNodeNames(pods []*apiv1.Pod) []*apiv1.Pod

ClearPodNodeNames removes node name from pods

func FilterRecreatablePods

func FilterRecreatablePods(pods []*apiv1.Pod) []*apiv1.Pod

FilterRecreatablePods filters pods that will be recreated by their controllers

func IsDaemonSetPod

func IsDaemonSetPod(pod *apiv1.Pod) bool

IsDaemonSetPod returns true if the Pod should be considered as Pod managed by a DaemonSet

func IsMirrorPod

func IsMirrorPod(pod *apiv1.Pod) bool

IsMirrorPod checks whether the pod is a mirror pod.

func IsStaticPod

func IsStaticPod(pod *apiv1.Pod) bool

IsStaticPod returns true if the pod is a static pod.

Types

This section is empty.

Jump to

Keyboard shortcuts

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