Documentation ¶
Overview ¶
Package machinehealthcheck implements machinehealthcheck controller.
Index ¶
Constants ¶
View Source
const ( // EventMachineMarkedUnhealthy is emitted when machine was successfully marked as unhealthy. EventMachineMarkedUnhealthy string = "MachineMarkedUnhealthy" // EventDetectedUnhealthy is emitted in case a node associated with a // machine was detected unhealthy. EventDetectedUnhealthy string = "DetectedUnhealthy" )
View Source
const ( // EventRemediationRestricted is emitted in case when machine remediation // is restricted by remediation circuit shorting logic. EventRemediationRestricted string = "RemediationRestricted" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { Client client.Client Tracker *remote.ClusterCacheTracker // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string // contains filtered or unexported fields }
Reconciler reconciles a MachineHealthCheck object.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Click to show internal directories.
Click to hide internal directories.