Documentation
¶
Overview ¶
Package drain provides graceful node draining and workload eviction for the nstance-operator.
Index ¶
Constants ¶
View Source
const (
// ConditionTypeServerDeleted indicates the instance was deleted server-side.
ConditionTypeServerDeleted = "ServerDeleted"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinator ¶
type Coordinator struct {
// contains filtered or unexported fields
}
Coordinator manages drain coordination across all shards
func NewCoordinator ¶
func NewCoordinator(c client.Client, logger logr.Logger, connections map[string]*grpc.ClientConn, restConfig *rest.Config) (*Coordinator, error)
NewCoordinator creates a new drain coordinator
Click to show internal directories.
Click to hide internal directories.