Documentation ¶
Index ¶
Constants ¶
View Source
const (
// CodeLabel for eviction request
CodeLabel = "code"
)
Variables ¶
View Source
var NodesEvictionRequestsTotal = opmetrics.NewPrometheusCounter( crmetrics.Registry, prometheus.CounterOpts{ Namespace: metrics.Namespace, Subsystem: metrics.NodeSubsystem, Name: "eviction_requests_total", Help: "The total number of eviction requests made by Karpenter", }, []string{CodeLabel}, )
Functions ¶
func IsNodeDrainError ¶
Types ¶
type NodeDrainError ¶
type NodeDrainError struct {
// contains filtered or unexported fields
}
func NewNodeDrainError ¶
func NewNodeDrainError(err error) *NodeDrainError
type Queue ¶
type Queue struct { workqueue.TypedRateLimitingInterface[QueueKey] // contains filtered or unexported fields }
func NewTestingQueue ¶ added in v1.1.0
type QueueKey ¶ added in v0.33.3
type QueueKey struct { types.NamespacedName UID types.UID }
func NewQueueKey ¶ added in v0.33.3
type Terminator ¶
type Terminator struct {
// contains filtered or unexported fields
}
func NewTerminator ¶
func (*Terminator) DeleteExpiringPods ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.