Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
The capacityreservation.expiration controller handles pre-emptive termination for nodes in expiring capacity-block reservations. These nodes should be terminated 40 minutes before the capacity-block's end time, 10 minutes before EC2 begins reclaiming the instances. This is inline with the interruption notification emitted by EC2.
func NewController ¶
func NewController( clk clock.Clock, kubeClient client.Client, cloudProvider cloudprovider.CloudProvider, capacityReservationProvider capacityreservation.Provider, ) *Controller
func (*Controller) Name ¶
func (c *Controller) Name() string
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(ctx context.Context) (reconciler.Result, error)
Click to show internal directories.
Click to hide internal directories.