descheduler

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const EvictOnlyAnnotation = "descheduler.alpha.kubernetes.io/request-evict-only"

EvictOnlyAnnotation indicates pods whose eviction is not expected to be completed right away. Instead, an eviction request is expected to be intercepted by an external component which will initiate the eviction process for the pod.

View Source
const EvictionInProgressAnnotation = "descheduler.alpha.kubernetes.io/eviction-in-progress"

EvictionInProgressAnnotation indicates pods whose eviction was initiated by an external component.

Variables

This section is empty.

Functions

func MarkEvictionInProgress

func MarkEvictionInProgress(virtClient kubecli.KubevirtClient, sourcePod *k8sv1.Pod) error

func MarkSourcePodEvictionCompleted

func MarkSourcePodEvictionCompleted(virtClient kubecli.KubevirtClient, migration *virtv1.VirtualMachineInstanceMigration, podIndexer cache.Indexer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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