ソースを参照

Merge pull request #5916 from mrunalp/crio_log_size_max

cri-o: Set max log size to 50 mb
Scott Dodson 7 年 前
コミット
adbc3884c5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      roles/docker/templates/crio.conf.j2

+ 1 - 1
roles/docker/templates/crio.conf.j2

@@ -108,7 +108,7 @@ pids_limit = 1024
 
 # log_size_max is the max limit for the container log size in bytes.
 # Negative values indicate that no limit is imposed.
-log_size_max = -1
+log_size_max = 52428800
 
 # The "crio.image" table contains settings pertaining to the
 # management of OCI images.