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 WaitForKubeProxy ¶
func WaitForKubeProxy(ctx context.Context, client *kubernetes.Clientset, KHNamespace string, kubeProxyNamespace string) error
WaitForKubeProxy waits for kube proxy to be ready and running on the node before running the check. Assumes that the kube-proxy pod follows the naming convention: "kube-proxy-{nodeName}"
func WaitForKuberhealthy ¶
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, namespace 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.
Click to show internal directories.
Click to hide internal directories.