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 ¶
EvacuationNodeNamePredicates returns a predicate func to only process objects with vmi.Status.EvacuationNodeName != "".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.