thunderingherdscheduling

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "kubescheduler.config.k8s.io"
View Source
const (
	Name = "ThunderingHerdScheduling"
)

Variables

View Source
var (
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemaVersionV1 = schema.GroupVersion{Group: GroupName, Version: "v1"}
View Source
var SchemeGroupVersionInternal = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

Functions

func New

func New(obj runtime.Object, handle framework.Handle) (framework.Plugin, error)

func SetDefaultThunderingHerdArgs

func SetDefaultThunderingHerdArgs(args *ThunderingHerdSchedulingArgs)

Types

type ThunderingHerdScheduling

type ThunderingHerdScheduling struct {
	// contains filtered or unexported fields
}

func (*ThunderingHerdScheduling) Name

func (t *ThunderingHerdScheduling) Name() string

func (*ThunderingHerdScheduling) Permit

func (*ThunderingHerdScheduling) PermitInternal

func (t *ThunderingHerdScheduling) PermitInternal(p *v1.Pod, nodeName string) (*framework.Status, time.Duration)

type ThunderingHerdSchedulingArgs

type ThunderingHerdSchedulingArgs struct {
	meta_v1.TypeMeta

	ParallelStartingPodsPerNode *int `json:"parallelStartingPodsPerNode"`
	TimeoutSeconds              *int `json:"timeoutSeconds"`
	MaxRetries                  *int `json:"maxRetries"`
}

func (*ThunderingHerdSchedulingArgs) DeepCopy

func (*ThunderingHerdSchedulingArgs) DeepCopyInto

func (*ThunderingHerdSchedulingArgs) DeepCopyObject

func (in *ThunderingHerdSchedulingArgs) DeepCopyObject() runtime.Object

func (*ThunderingHerdSchedulingArgs) PrintArgs

func (in *ThunderingHerdSchedulingArgs) PrintArgs()

Jump to

Keyboard shortcuts

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