podrecreation

package
v0.0.0-...-3e12644 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReplicaSetString            = "ReplicaSet"
	DeploymentString            = "Deployment"
	StatefulsetString           = "StatefulSet"
	DaemonSetString             = "DaemonSet"
	DefaultGracePeriodInSeconds = 30
	Cordon                      = "cordon"
	Uncordon                    = "uncordon"
	DeleteBackground            = "deleteBackground"
	DeleteForeground            = "deleteForeground"
	NoDelete                    = "noDelete"
)

Variables

This section is empty.

Functions

func CordonCleanup

func CordonCleanup(node string, check *checksdb.Check)

func CordonHelper

func CordonHelper(name, operation string) error

func CountPodsWithDelete

func CountPodsWithDelete(pods []*provider.Pod, nodeName, mode string) (count int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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