Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodTemplateWithGeneration ¶
func GetPodTemplateWithGeneration(template v1.PodTemplateSpec, generation int64) v1.PodTemplateSpec
GetPodTemplateWithHash returns copy of provided template with additional label which contains hash of provided template and sets default daemon tolerations.
func IsPodUpdated ¶
func IsPodUpdated(dsTemplateGeneration int64, pod *v1.Pod) bool
IsPodUpdate checks if pod contains label with provided hash
func SplitByAvailablePods ¶
func SplitByAvailablePods(minReadySeconds int32, pods []*v1.Pod) ([]*v1.Pod, []*v1.Pod)
SplitByAvailablePods splits provided daemon set pods by availabilty
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.