Documentation ¶
Index ¶
Constants ¶
View Source
const ( MDBCephClusterNamespaceLabelKey = "rook.io/cephClusterNamespace" MDBCephClusterNameLabelKey = "rook.io/cephClusterName" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(mgr manager.Manager, context *controllerconfig.Context) error
Add adds a new Controller to the Manager based on machinedisruption.ReconcileMachineDisruption and registers the relevant watches and handlers. Read more about how Managers, Controllers, and their Watches, Handlers, Predicates, etc work here: https://godoc.org/github.com/kubernetes-sigs/controller-runtime/pkg
Types ¶
type MachineDisruptionReconciler ¶
type MachineDisruptionReconciler struct {
// contains filtered or unexported fields
}
MachineDisruptionReconciler reconciles MachineDisruption
func (*MachineDisruptionReconciler) Reconcile ¶
func (r *MachineDisruptionReconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile is the implementation of reconcile function for MachineDisruptionReconciler which ensures that the machineDisruptionBudget for the rook ceph cluster is in correct state
Click to show internal directories.
Click to hide internal directories.