# Functions
IsStatefulSetReadyToServe func.
NewCockroachNodeDrainer ctor.
StatefulSetIsRunning checks if the expected number of pods for a statefulset are running but not necessarily ready nor healthy.
WaitUntilStatefulSetIsReadyToServe func.
WaitUntilStatefulSetIsRunning waits until the given statefulset has all pods scheduled and running but not necessarily healthy nor ready.
# Variables
ErrDecommissioningStalled indicates that the decommissioning process of a node has stalled due to the KV allocator being unable to relocate ranges to another node.
# Structs
CockroachExecutor struct.
CockroachNodeDrainer does decommissioning of nodes in the CockroachDB cluster.
CockroachStatefulSet represents the CRDB statefulset running in a kubernetes cluster.
Executor struct.
ExecutorOptions struct.
PersistentVolumePruner provides a .Prune method to remove unused statefulset PVC and their underlying PVs.
Scaler interface.