Skip to content

Commit 4f9db48

Browse files
committed
fix(memory-tracker): use containerized mode by default.
1 parent 6515009 commit 4f9db48

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apis/apps/v1alpha1/template.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ const (
140140
########## memory ##########
141141
# System memory high watermark ratio, cancel the memory checking when the ratio greater than 1.0
142142
--system_memory_high_watermark_ratio=0.8
143+
# use container memory limit
144+
--containerized=true
143145
144146
########## audit ##########
145147
# This variable is used to enable audit. The value can be 'true' or 'false'.
@@ -544,6 +546,8 @@ const (
544546
--memory_purge_enabled=true
545547
# memory background purge interval in seconds
546548
--memory_purge_interval_seconds=10
549+
# use container memory limit
550+
--containerized=true
547551
548552
########## SSL ##########
549553
# whether to enable ssl

0 commit comments

Comments
 (0)