nodes

package
v1.21.6 Latest Latest
Warning

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

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

Documentation

Overview

Package nodes contains the helper methods/functions for nodes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrainPrimaryNode

func DrainPrimaryNode(
	namespace,
	clusterName string,
	timeoutSeconds int,
	env *utils.TestingEnvironment,
) []string

DrainPrimaryNode drains the node containing the primary pod. It returns the names of the pods that were running on that node

func UncordonAllNodes

func UncordonAllNodes(env *utils.TestingEnvironment) error

UncordonAllNodes executes the 'kubectl uncordon' command on each node of the list

Types

This section is empty.

Jump to

Keyboard shortcuts

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