Discover Packages
github.com/datadog/extendeddaemonset
pkg
controller
extendeddaemonsetreplicaset
strategy
limits
package
Version:
v0.2.0-rc.4
Opens a new window with list of versions in this module.
Published: Sep 10, 2020
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.