Skip to content

Commit

Permalink
balloons: allow balloon type option shareIdleCPUsInSame: l2cache
Browse files Browse the repository at this point in the history
Signed-off-by: Antti Kervinen <[email protected]>
  • Loading branch information
askervin committed Oct 21, 2024
1 parent d9a5c90 commit bea2ba1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/crd/bases/config.nri_balloonspolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ spec:
- package
- die
- numa
- l2cache
- core
- thread
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ spec:
- package
- die
- numa
- l2cache
- core
- thread
type: string
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/config/v1alpha1/resmgr/policy/balloons/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ type BalloonDef struct {
// <topology-level> as any CPU in the balloon, then allow
// workloads to run on those (shared) CPUs in addition to the
// (dedicated) CPUs of the balloon.
// +kubebuilder:validation:Enum="";system;package;die;numa;core;thread
// +kubebuilder:validation:Enum="";system;package;die;numa;l2cache;core;thread
// +kubebuilder:validation:Format:string
ShareIdleCpusInSame CPUTopologyLevel `json:"shareIdleCPUsInSame,omitempty"`
// PreferCloseToDevices: prefer creating new balloons of this
Expand Down

0 comments on commit bea2ba1

Please sign in to comment.