Documentation ¶
Index ¶
- Constants
- func CheckNROSchedulerAvailable(cli client.Client, nroSchedName string) *nropv1alpha1.NUMAResourcesScheduler
- func CheckPODSchedulingFailed(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)
- func CheckPODSchedulingFailedForAlignment(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)
- func CheckPODWasScheduledWith(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)
- func IsSchedulingErrorCannotAlign(msg string) bool
Constants ¶
View Source
const ( // TODO: fetch this from NRO scheduler status NROSchedulerName = "topo-aware-scheduler" NROSchedObjectName = "numaresourcesscheduler" ReasonScheduled = "Scheduled" ReasonFailedScheduling = "FailedScheduling" ErrorCannotAlignPod = "cannot align pod" )
Variables ¶
This section is empty.
Functions ¶
func CheckNROSchedulerAvailable ¶
func CheckNROSchedulerAvailable(cli client.Client, nroSchedName string) *nropv1alpha1.NUMAResourcesScheduler
func CheckPODSchedulingFailed ¶
func CheckPODSchedulingFailed(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)
func CheckPODSchedulingFailedForAlignment ¶
func CheckPODSchedulingFailedForAlignment(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)
func CheckPODWasScheduledWith ¶
func CheckPODWasScheduledWith(k8sCli *kubernetes.Clientset, podNamespace, podName, schedulerName string) (bool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.