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 @@ -98,6 +98,11 @@ spec:
description: EnableSwap is whether to enable swap to
offloading anon pages
type: boolean
enableSwapOnProactiveEnabled:
description: EnableSwapOnProactiveEnable is whether
to enable swap to offloading anon pages only when
host swappiness_proactive is enabled
type: boolean
enableTMO:
description: EnableTMO is whether to enable TMO on target
objective
Expand Down Expand Up @@ -231,6 +236,11 @@ spec:
description: EnableSwap is whether to enable swap to
offloading anon pages
type: boolean
enableSwapOnProactiveEnabled:
description: EnableSwapOnProactiveEnable is whether
to enable swap to offloading anon pages only when
host swappiness_proactive is enabled
type: boolean
enableTMO:
description: EnableTMO is whether to enable TMO on target
objective
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/config/v1alpha1/tmo.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ type TMOConfigDetail struct {
// +optional
EnableSwap *bool `json:"enableSwap,omitempty"`

// EnableSwapOnProactiveEnable is whether to enable swap to offloading anon pages only when
// host swappiness_proactive is enabled
// +optional
EnableSwapOnProactiveEnabled *bool `json:"enableSwapOnProactiveEnabled,omitempty"`

// Interval is the minimum duration the objectives got memory reclaimed by TMO
// +optional
Interval *metav1.Duration `json:"interval,omitempty"`
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.