Просмотр исходного кода

Merge pull request #5916 from mrunalp/crio_log_size_max

cri-o: Set max log size to 50 mb
Scott Dodson 7 лет назад
Родитель
Сommit
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.