Documentation ¶
Index ¶
- Constants
- Variables
- func New(obj runtime.Object, handle framework.Handle) (framework.Plugin, error)
- func SetDefaultThunderingHerdArgs(args *ThunderingHerdSchedulingArgs)
- type ThunderingHerdScheduling
- func (t *ThunderingHerdScheduling) Name() string
- func (t *ThunderingHerdScheduling) Permit(_ context.Context, _ *framework.CycleState, p *v1.Pod, nodeName string) (*framework.Status, time.Duration)
- func (t *ThunderingHerdScheduling) PermitInternal(p *v1.Pod, nodeName string) (*framework.Status, time.Duration)
- type ThunderingHerdSchedulingArgs
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 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) PermitInternal ¶
type ThunderingHerdSchedulingArgs ¶
type ThunderingHerdSchedulingArgs struct { meta_v1.TypeMeta ParallelStartingPodsPerNode *int `json:"parallelStartingPodsPerNode"` TimeoutSeconds *int `json:"timeoutSeconds"` MaxRetries *int `json:"maxRetries"` }
func ParseArguments ¶
func ParseArguments(obj runtime.Object) (*ThunderingHerdSchedulingArgs, error)
func (*ThunderingHerdSchedulingArgs) DeepCopy ¶
func (in *ThunderingHerdSchedulingArgs) DeepCopy() *ThunderingHerdSchedulingArgs
func (*ThunderingHerdSchedulingArgs) DeepCopyInto ¶
func (in *ThunderingHerdSchedulingArgs) DeepCopyInto(out *ThunderingHerdSchedulingArgs)
func (*ThunderingHerdSchedulingArgs) DeepCopyObject ¶
func (in *ThunderingHerdSchedulingArgs) DeepCopyObject() runtime.Object
func (*ThunderingHerdSchedulingArgs) PrintArgs ¶
func (in *ThunderingHerdSchedulingArgs) PrintArgs()
Click to show internal directories.
Click to hide internal directories.