Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(clk clock.Clock, kubeClient client.Client, recorder events.Recorder, provider cloudprovider.CloudProvider) corecontroller.Controller
Types ¶
type Check ¶
type Check interface { // Check performs the inflight check, this should return a list of slice discovered, or an empty // slice if no issues were found Check(ctx context.Context, node *v1.Node, provisioner *v1alpha5.Provisioner, pdbs *deprovisioning.PDBLimits) ([]Issue, error) }
func NewFailedInit ¶
func NewFailedInit(clk clock.Clock, provider cloudprovider.CloudProvider) Check
func NewNodeShape ¶
func NewNodeShape(provider cloudprovider.CloudProvider) Check
func NewTermination ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) Builder ¶
func (c *Controller) Builder(_ context.Context, m manager.Manager) corecontroller.Builder
func (*Controller) Name ¶
func (c *Controller) Name() string
type FailedInit ¶
type FailedInit struct {
// contains filtered or unexported fields
}
FailedInit detects nodes that fail to initialize within an hour and reports the reason for the initialization failure
func (FailedInit) Check ¶
func (f FailedInit) Check(ctx context.Context, n *v1.Node, provisioner *v1alpha5.Provisioner, pdbs *deprovisioning.PDBLimits) ([]Issue, error)
type NodeShape ¶
type NodeShape struct {
// contains filtered or unexported fields
}
NodeShape detects nodes that have launched with 10% or less of any resource than was expected.
type Termination ¶
type Termination struct {
// contains filtered or unexported fields
}
Termination detects nodes that are stuck terminating and reports why.
func (*Termination) Check ¶
func (t *Termination) Check(ctx context.Context, node *v1.Node, provisioner *v1alpha5.Provisioner, pdbs *deprovisioning.PDBLimits) ([]Issue, error)
Click to show internal directories.
Click to hide internal directories.