Documentation
¶
Index ¶
- func ProcessGroupNeedsReplacements(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 ProcessGroupNeedsReplacements ¶ added in v2.9.0
func ProcessGroupNeedsReplacements( ctx context.Context, podManager podmanager.PodLifecycleManager, ctrlClient client.Client, log logr.Logger, cluster *fdbv1beta2.FoundationDBCluster, processGroup *fdbv1beta2.ProcessGroupStatus, replaceOnSecurityContextChange bool, ) (bool, error)
ProcessGroupNeedsReplacements checks if a process group needs to be replaced.
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, ctrlClient client.Client, log logr.Logger, cluster *fdbv1beta2.FoundationDBCluster, replaceOnSecurityContextChange bool, ) (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.