Documentation
¶
Index ¶
Constants ¶
View Source
const ( OperationTypePreempted = "compute.instances.preempted" NodeConditionReasonKubeletNotReady = "KubeletNotReady" NodeConditionMessageShuttingDown = "node is shutting down" InterruptionReason = "interruption" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is an GCP interruption controller.
func NewController ¶
func NewController(kubeClient client.Client, recorder events.Recorder, unavailableOfferingsCache *cache.UnavailableOfferings, metadataClient *metadata.Client, zoneOperationClient *computev1.ZoneOperationsClient, credential auth.Credential, instanceProvider instance.Provider, ) *Controller
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(ctx context.Context) (reconciler.Result, error)
Click to show internal directories.
Click to hide internal directories.