File tree 2 files changed +8
-0
lines changed
pkg/apis/performanceprofile
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ type PerformanceProfileSpec struct {
72
72
GloballyDisableIrqLoadBalancing * bool `json:"globallyDisableIrqLoadBalancing,omitempty"`
73
73
// WorkloadHints defines hints for different types of workloads. It will allow defining exact set of tuned and
74
74
// kernel arguments that should be applied on top of the node.
75
+ // +optional
75
76
WorkloadHints * WorkloadHints `json:"workloadHints,omitempty"`
76
77
}
77
78
@@ -165,8 +166,11 @@ type RealTimeKernel struct {
165
166
type WorkloadHints struct {
166
167
// HighPowerConsumption defines if the node should be configured in high power consumption mode.
167
168
// The flag will affect the power consumption but will improve the CPUs latency.
169
+ // +optional
168
170
HighPowerConsumption * bool `json:"highPowerConsumption,omitempty"`
169
171
// RealTime defines if the node should be configured for the real time workload.
172
+ // +default=true
173
+ // +optional
170
174
RealTime * bool `json:"realTime,omitempty"`
171
175
}
172
176
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ type PerformanceProfileSpec struct {
76
76
GloballyDisableIrqLoadBalancing * bool `json:"globallyDisableIrqLoadBalancing,omitempty"`
77
77
// WorkloadHints defines hints for different types of workloads. It will allow defining exact set of tuned and
78
78
// kernel arguments that should be applied on top of the node.
79
+ // +optional
79
80
WorkloadHints * WorkloadHints `json:"workloadHints,omitempty"`
80
81
}
81
82
@@ -172,8 +173,11 @@ type RealTimeKernel struct {
172
173
type WorkloadHints struct {
173
174
// HighPowerConsumption defines if the node should be configured in high power consumption mode.
174
175
// The flag will affect the power consumption but will improve the CPUs latency.
176
+ // +optional
175
177
HighPowerConsumption * bool `json:"highPowerConsumption,omitempty"`
176
178
// RealTime defines if the node should be configured for the real time workload.
179
+ // +default=true
180
+ // +optional
177
181
RealTime * bool `json:"realTime,omitempty"`
178
182
}
179
183
You can’t perform that action at this time.
0 commit comments