Documentation ¶
Overview ¶
Package nodedrain implements the controller for ensuring that drain detection deployments exist. The design and purpose for drain detection is found at: https://github.com/rook/rook/blob/master/design/ceph-managed-disruptionbudgets.md
Index ¶
Constants ¶
View Source
const ( // CanaryAppName is applied to nodedrain canary components (pods, deployments) with the key app CanaryAppName = "rook-ceph-drain-canary" NodeNameLabel = "node_name" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcileNode ¶
type ReconcileNode struct {
// contains filtered or unexported fields
}
ReconcileNode reconciles ReplicaSets
func (*ReconcileNode) Reconcile ¶
Reconcile reconciles a node and ensures that it has a drain-detection deployment attached to it. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
Click to show internal directories.
Click to hide internal directories.