nodeCheck

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableDebugOutput

func EnableDebugOutput()

EnableDebugOutput enables debug logging for this package

func WaitForKuberhealthy

func WaitForKuberhealthy(ctx context.Context) error

WaitForKuberhealthy waits for the the kuberhealthy endpoint (KH_REPORTING_URL) to be contactable by the checker pod on a given node

func WaitForNodeAge

func WaitForNodeAge(ctx context.Context, client *kubernetes.Clientset, nodeName string, minNodeAge time.Duration) error

WaitForNodeAge checks the node's age to see if its less than the minimum node age. If so, sleeps until the node reaches the minimum node age.

Types

This section is empty.

Jump to

Keyboard shortcuts

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