Discover Packages
github.com/DataDog/extendeddaemonset
controllers
extendeddaemonsetreplicaset
strategy
limits
package
Version:
v0.10.0-rc.2
Opens a new window with list of versions in this module.
Published: May 6, 2024
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 Source Files Overview Index Constants Variables Functions Types CalculatePodToCreateAndDelete(params) type Parameters
Documentation
¶
Package limits contains function to calculate pod create/deletion limits.
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
NbUnresponsiveNodes int
NbUnreadyPods 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.