Documentation ¶
Index ¶
Constants ¶
const InitializationTimeout = 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 properties 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.
type Initialization ¶ added in v0.5.6
type Initialization struct {
// contains filtered or unexported fields
}
Initialization is a subreconciler that 1. Removes the NotReady taint when the node is ready. This taint is originally applied on node creation. 2. Terminates nodes that don't transition to ready within InitializationTimeout