Documentation
¶
Overview ¶
placement package provides utility functions that are shared between the webhooks and controllers to implement the exclusive placement per topology feature.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenJobName ¶
GenJobName deterministically generates the child job name from the given JobSet name, replicated job name, and job index.
func GenPodName ¶ added in v0.3.2
GenPodName returns the pod name for the given JobSet name, ReplicatedJob name, Job index, and Pod index.
func IsLeaderPod ¶
IsLeaderPod returns true if the given pod is a leader pod (job completion index of 0), otherwise it returns false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.