Documentation ¶
Index ¶
- func ProcessGroupNeedsRemoval(ctx context.Context, podManager podmanager.PodLifecycleManager, ...) (bool, error)
- func ReplaceFailedProcessGroups(logger logr.Logger, cluster *fdbv1beta2.FoundationDBCluster, ...) (bool, bool)
- func ReplaceMisconfiguredProcessGroups(ctx context.Context, podManager podmanager.PodLifecycleManager, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessGroupNeedsRemoval ¶ added in v1.35.0
func ProcessGroupNeedsRemoval(ctx context.Context, podManager podmanager.PodLifecycleManager, client client.Client, log logr.Logger, cluster *fdbv1beta2.FoundationDBCluster, processGroup *fdbv1beta2.ProcessGroupStatus, pvcMap map[fdbv1beta2.ProcessGroupID]corev1.PersistentVolumeClaim) (bool, error)
ProcessGroupNeedsRemoval checks if a process group needs to be removed.
func ReplaceFailedProcessGroups ¶
func ReplaceFailedProcessGroups(logger logr.Logger, cluster *fdbv1beta2.FoundationDBCluster, status *fdbv1beta2.FoundationDBStatus, hasDesiredFaultTolerance bool) (bool, bool)
ReplaceFailedProcessGroups flags failed processes groups for removal. The first return value will indicate if any new Process Group was removed and the second return value will indicate if there are more Process Groups that needs a replacement, but the operator is not allowed to replace those as the limit is reached.
func ReplaceMisconfiguredProcessGroups ¶
func ReplaceMisconfiguredProcessGroups(ctx context.Context, podManager podmanager.PodLifecycleManager, client client.Client, log logr.Logger, cluster *fdbv1beta2.FoundationDBCluster, pvcMap map[fdbv1beta2.ProcessGroupID]corev1.PersistentVolumeClaim) (bool, error)
ReplaceMisconfiguredProcessGroups checks if the cluster has any misconfigured process groups that must be replaced.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.