Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recorder ¶
type Recorder interface { // NominatePod is called when we have determined that a pod should schedule against an existing node and don't // currently need to provision new capacity for the pod. NominatePod(*v1.Pod, *v1.Node) // EvictedPod is called when a pod is evicted EvictPod(*v1.Pod) // PodFailedToSchedule is called when a pod has failed to schedule entirely. PodFailedToSchedule(*v1.Pod, error) // NodeFailedToDrain is called when a pod causes a node draining to fail NodeFailedToDrain(*v1.Node, error) // TerminatingNodeForConsolidation is called just before terminating the node due to consolidation with a user // presentable string describing the consolidation operation TerminatingNodeForConsolidation(node *v1.Node, reason string) // LaunchingNodeForConsolidation is called with the new node that was just created due to a consolidation operation. LaunchingNodeForConsolidation(v *v1.Node, reason string) // WaitingOnReadinessForConsolidation is called when consolidation is waiting on a node to become ready prior to // continuing consolidation WaitingOnReadinessForConsolidation(v *v1.Node) // WaitingOnDeletionForConsolidation is called when consolidation is waiting on a node to be deleted prior to // continuing consolidation WaitingOnDeletionForConsolidation(oldnode *v1.Node) }
Recorder is used to record events that occur about pods so they can be viewed by looking at the pod's events so our actions are more observable without requiring log inspection
func NewDedupeRecorder ¶ added in v0.13.0
func NewRecorder ¶ added in v0.13.0
func NewRecorder(rec record.EventRecorder) Recorder
Click to show internal directories.
Click to hide internal directories.