Documentation
¶
Index ¶
Constants ¶
View Source
const LivenessTimeout = 15 * time.Minute
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages a set of properites on karpenter provisioned nodes, such as taints, labels, finalizers.
func NewController ¶
func NewController(kubeClient client.Client) *Controller
NewController constructs a controller instance
type Emptiness ¶
type Emptiness struct {
// contains filtered or unexported fields
}
Emptiness is a subreconciler that deletes nodes that are empty after a ttl
type Expiration ¶
type Expiration struct {
// contains filtered or unexported fields
}
Expiration is a subreconciler that terminates nodes after a period of time.
type Finalizer ¶
type Finalizer struct{}
Finalizer is a subreconciler that ensures nodes have the termination finalizer. This protects against instances that launch when Karpenter fails to create the node object. In this case, the node will come online without the termination finalizer. This controller will update the node accordingly.
Click to show internal directories.
Click to hide internal directories.