Skip to content
Open
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 @@ -740,6 +740,14 @@ spec:
If set to false, it means that cpu burst should be disabled for pods with dedicated cores (cpu burst value is set to 0).
If set to nil, it means that no operation is done on the cpu burst value.
type: boolean
enableSharedCoresDefaultCPUBurst:
description: |-
EnableSharedCoresDefaultCPUBurst indicates whether cpu burst should be enabled by default for pods with shared cores.
To avoid cpu contention with other pods, CPU burst should only be enabled for shared cores pods when they are the sole shared cores pod running on the node.
If set to true, it means that cpu burst should be enabled by default for pods with shared cores (cpu burst value is calculated and set).
If set to false, it means that cpu burst should be disabled for pods with shared cores (cpu burst value is set to 0).
If set to nil, it means that no operation is done on the cpu burst value.
type: boolean
type: object
type: object
qrmPluginConfig:
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 @@ -945,6 +945,14 @@ type CPUBurstConfig struct {
// +optional
EnableDedicatedCoresDefaultCPUBurst *bool `json:"enableDedicatedCoresDefaultCPUBurst,omitempty"`

// EnableSharedCoresDefaultCPUBurst indicates whether cpu burst should be enabled by default for pods with shared cores.
// To avoid cpu contention with other pods, CPU burst should only be enabled for shared cores pods when they are the sole shared cores pod running on the node.
// If set to true, it means that cpu burst should be enabled by default for pods with shared cores (cpu burst value is calculated and set).
// If set to false, it means that cpu burst should be disabled for pods with shared cores (cpu burst value is set to 0).
// If set to nil, it means that no operation is done on the cpu burst value.
// +optional
EnableSharedCoresDefaultCPUBurst *bool `json:"enableSharedCoresDefaultCPUBurst,omitempty"`

// DefaultCPUBurstPercent is the default cpu burst percent to be set for pods with dedicated cores.
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=100
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.