Discover Packages
github.com/DataDog/extendeddaemonset
controllers
extendeddaemonsetreplicaset
strategy
limits
package
Version:
v0.5.0-rc.3
Opens a new window with list of versions in this module.
Published: Jan 25, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.