limits

package
v0.2.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculatePodToCreateAndDelete

func CalculatePodToCreateAndDelete(params Parameters) (nbCreation, nbDeletion int)

CalculatePodToCreateAndDelete from the parameters return: * nbCreation: the number of pods to create * nbDeletion: the number of pods to delete

Types

type Parameters

type Parameters struct {
	NbNodes            int
	NbPods             int
	NbAvailablesPod    int
	NbOldAvailablesPod int
	NbCreatedPod       int

	MaxPodCreation      int
	MaxUnavailablePod   int
	MaxUnschedulablePod int
}

Parameters use to provide the parameters to the Calculation function

Jump to

Keyboard shortcuts

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