kubevirtvmieviction

package
v2.23.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package kubevirtvmieviction contains a controller that is responsible for handling bare-metal nodes draining: - watches in the KubeVirt infra cluster the VMI status.evacuationNodeName. - deletes the corresponding machine on the user cluster to benefit from the machine controller eviction mechanism.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context, log *zap.SugaredLogger, userMgr, kubevirtInfraMgr manager.Manager, clusterIsPaused userclustercontrollermanager.IsPausedChecker, clusterName string) error

func EvacuationNodeNamePredicates

func EvacuationNodeNamePredicates() predicate.Funcs

EvacuationNodeNamePredicates returns a predicate func to only process objects with vmi.Status.EvacuationNodeName != "".

Types

This section is empty.

Jump to

Keyboard shortcuts

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