Documentation ¶
Index ¶
- Constants
- func IsDisruptionWindowActive(ctx context.Context, podNamespace, podName string, ...) bool
- type DeprovisionController
- func (c *DeprovisionController) HandleBlockingPods(ctx context.Context, pods []corev1.Pod, nodeName string)
- func (c *DeprovisionController) Reconcile(ctx context.Context, e *corev1.Event) (reconcile.Result, error)
- func (c *DeprovisionController) Register(_ context.Context, mgr manager.Manager) error
Constants ¶
View Source
const ( DisruptionWindowSchedKey = "k8s.adsrvr.net/disruption-window-schedule" DisruptionWindowDurationKey = "k8s.adsrvr.net/disruption-window-duration" DisruptionBlockedEventReason = "DisruptionBlocked" DisruptionBlockedEventMessage = "Cannot disrupt Node: state node is marked for deletion" DisruptionBlockedEventKind = "Node" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeprovisionController ¶
func (*DeprovisionController) HandleBlockingPods ¶
Click to show internal directories.
Click to hide internal directories.