Skip to content

Commit 88bc67b

Browse files
authored
Merge pull request #624 from vprashar2929/chore-disable-term
chore: disable terminated workload tracking
2 parents 1248c60 + 6053b5f commit 88bc67b

9 files changed

+10
-10
lines changed

api/v1alpha1/power_monitor_internal_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type PowerMonitorInternalKeplerConfigSpec struct {
6969
// Zero: disable terminated workload tracking completely
7070
// Positive values: track top N terminated workloads by energy consumption
7171
// +optional
72-
// +kubebuilder:default=500
72+
// +kubebuilder:default=0
7373
MaxTerminated *int32 `json:"maxTerminated,omitempty"`
7474
}
7575

api/v1alpha1/power_monitor_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ type PowerMonitorKeplerConfigSpec struct {
9393
// Zero: disable terminated workload tracking completely
9494
// Positive values: track top N terminated workloads by energy consumption
9595
// +optional
96-
// +kubebuilder:default=500
96+
// +kubebuilder:default=0
9797
MaxTerminated *int32 `json:"maxTerminated,omitempty"`
9898
}
9999

bundle/manifests/kepler.system.sustainable.computing.io_powermonitorinternals.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ spec:
9494
default: info
9595
type: string
9696
maxTerminated:
97-
default: 500
97+
default: 0
9898
description: |-
9999
MaxTerminated controls terminated workload tracking behavior
100100
Negative values: track unlimited terminated workloads (no capacity limit)

bundle/manifests/kepler.system.sustainable.computing.io_powermonitors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ spec:
100100
default: info
101101
type: string
102102
maxTerminated:
103-
default: 500
103+
default: 0
104104
description: |-
105105
MaxTerminated controls terminated workload tracking behavior
106106
Negative values: track unlimited terminated workloads (no capacity limit)

config/crd/bases/kepler.system.sustainable.computing.io_powermonitorinternals.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ spec:
9494
default: info
9595
type: string
9696
maxTerminated:
97-
default: 500
97+
default: 0
9898
description: |-
9999
MaxTerminated controls terminated workload tracking behavior
100100
Negative values: track unlimited terminated workloads (no capacity limit)

config/crd/bases/kepler.system.sustainable.computing.io_powermonitors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ spec:
9090
default: info
9191
type: string
9292
maxTerminated:
93-
default: 500
93+
default: 0
9494
description: |-
9595
MaxTerminated controls terminated workload tracking behavior
9696
Negative values: track unlimited terminated workloads (no capacity limit)

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ Zero: disable terminated workload tracking completely
413413
Positive values: track top N terminated workloads by energy consumption<br/>
414414
<br/>
415415
<i>Format</i>: int32<br/>
416-
<i>Default</i>: 500<br/>
416+
<i>Default</i>: 0<br/>
417417
</td>
418418
<td>false</td>
419419
</tr><tr>
@@ -893,7 +893,7 @@ Zero: disable terminated workload tracking completely
893893
Positive values: track top N terminated workloads by energy consumption<br/>
894894
<br/>
895895
<i>Format</i>: int32<br/>
896-
<i>Default</i>: 500<br/>
896+
<i>Default</i>: 0<br/>
897897
</td>
898898
<td>false</td>
899899
</tr><tr>

manifests/helm/kepler-operator/crds/kepler.system.sustainable.computing.io_powermonitorinternals.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ spec:
9494
default: info
9595
type: string
9696
maxTerminated:
97-
default: 500
97+
default: 0
9898
description: |-
9999
MaxTerminated controls terminated workload tracking behavior
100100
Negative values: track unlimited terminated workloads (no capacity limit)

manifests/helm/kepler-operator/crds/kepler.system.sustainable.computing.io_powermonitors.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ spec:
9090
default: info
9191
type: string
9292
maxTerminated:
93-
default: 500
93+
default: 0
9494
description: |-
9595
MaxTerminated controls terminated workload tracking behavior
9696
Negative values: track unlimited terminated workloads (no capacity limit)

0 commit comments

Comments
 (0)