nodeagent

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDaemonSetNotFound = errors.New("daemonset not found")
)

Functions

func GetPodSpec added in v1.12.0

func GetPodSpec(ctx context.Context, kubeClient kubernetes.Interface, namespace string) (*v1.PodSpec, error)

func IsRunning

func IsRunning(ctx context.Context, kubeClient kubernetes.Interface, namespace string) error

IsRunning checks if the node agent daemonset is running properly. If not, return the error found

func IsRunningInNode

func IsRunningInNode(ctx context.Context, namespace string, nodeName string, podClient corev1client.PodsGetter) error

IsRunningInNode checks if the node agent pod is running properly in a specified node. If not, return the error found

Types

This section is empty.

Jump to

Keyboard shortcuts

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