Documentation
¶
Index ¶
Constants ¶
View Source
const ( ImageID = "image_id" Condition = "condition" )
Variables ¶
View Source
var NodeClaimsUnhealthyDisruptedTotal = opmetrics.NewPrometheusCounter( crmetrics.Registry, prometheus.CounterOpts{ Namespace: metrics.Namespace, Subsystem: metrics.NodeClaimSubsystem, Name: "unhealthy_disrupted_total", Help: "Number of unhealthy nodeclaims disrupted in total by Karpenter. Labeled by condition on the node was disrupted, the owning nodepool, and the image ID.", }, []string{ Condition, metrics.NodePoolLabel, metrics.CapacityTypeLabel, ImageID, }, )
Functions ¶
func NodeRepairBlocked ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller for the resource
func NewController ¶
func NewController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider, clock clock.Clock, recorder events.Recorder) *Controller
NewController constructs a controller instance
Click to show internal directories.
Click to hide internal directories.