Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,14 @@ spec:
ring buffer for calculating NUMA CPU pressure.
minimum: 1
type: integer
reclaimedEvictBoundRatio:
description: |-
ReclaimedEvictBoundRatio is the NUMA average CPU usage ratio (0~1) that
triggers the reclaim eviction tier when ForceEvictReclaimed is true.
Recommended relation: ReclaimedEvictBoundRatio <= LowerBoundRatio <= UpperBoundRatio.
maximum: 1
minimum: 0
type: number
skippedPodKinds:
description: SkippedPodKinds is the pod kind that
will be skipped when selecting pods to be evicted.
Expand Down
8 changes: 8 additions & 0 deletions pkg/apis/config/v1alpha1/adminqos.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,14 @@ type NumaCPUPressureEvictionConfig struct {
// +kubebuilder:validation:Maximum=1
// +optional
LowerBoundRatio *float64 `json:"lowerBoundRatio,omitempty"`

// ReclaimedEvictBoundRatio is the NUMA average CPU usage ratio (0~1) that
// triggers the reclaim eviction tier when ForceEvictReclaimed is true.
// Recommended relation: ReclaimedEvictBoundRatio <= LowerBoundRatio <= UpperBoundRatio.
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=1
// +optional
ReclaimedEvictBoundRatio *float64 `json:"reclaimedEvictBoundRatio,omitempty"`
}

// NumaSysCPUPressureEvictionConfig holds the configurations for NUMA-level system CPU pressure eviction.
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/config/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.