schedulersimulation

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSSSimulatorExecutor

func NewSSSimulatorExecutor(conf *options.SchedulerSimulationConfig) (pkg.Simulator, error)

Types

type ScheduleDetail

type ScheduleDetail struct {
	NodeName        string              `json:"nodeName"`
	Replicas        int                 `json:"replicas"`
	NodeAllocatable corev1.ResourceList `json:"nodeAllocatable"`
	PodRequest      framework.Resource  `json:"podRequest"`
	OnlyDSPod       bool                `json:"onlyDSPod"`
}

type SchedulerSimulationReview

type SchedulerSimulationReview struct {
	UnschedulablePods []corev1.Pod     `json:"unschedulablePods"`
	Details           []ScheduleDetail `json:"details"`
	StopReason        string           `json:"stopReason"`
}

func (*SchedulerSimulationReview) Print

func (r *SchedulerSimulationReview) Print(verbose bool, format string) error

Jump to

Keyboard shortcuts

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