Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMemberContainersFromSts ¶ added in v1.3.3
func GetMemberContainersFromSts(cli kubernetes.Interface, stsGetter typedappsv1.StatefulSetsGetter, namespace, stsName string, component v1alpha1.MemberType) ([]corev1.Container, error)
GetMemberContainersFromSts returns the member containers of the sts.
If no container is found, return a error.
func GetStatefulPodOrdinal ¶
func IsAllDesiredPodsRunningAndReady ¶
func IsAllDesiredPodsRunningAndReady(c kubernetes.Interface, sts *appsv1.StatefulSet) bool
IsAllDesiredPodsRunningAndReady checks if all desired pods of given statefulset are running and ready
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.