summaryrefslogtreecommitdiffstats
path: root/roles/docker/templates
diff options
context:
space:
mode:
authorMrunal Patel <mrunalp@gmail.com>2017-10-27 09:59:12 -0700
committerMrunal Patel <mrunalp@gmail.com>2017-10-27 10:05:13 -0700
commitc3ecea4b9534bb7c487f3b1193aaae9f2de13306 (patch)
tree0206d1f9872934853499ea39377ba2c824d4c804 /roles/docker/templates
parent39514f8e43056d70812c3095759f5bb6155cc88c (diff)
downloadopenshift-c3ecea4b9534bb7c487f3b1193aaae9f2de13306.tar.gz
openshift-c3ecea4b9534bb7c487f3b1193aaae9f2de13306.tar.bz2
openshift-c3ecea4b9534bb7c487f3b1193aaae9f2de13306.tar.xz
openshift-c3ecea4b9534bb7c487f3b1193aaae9f2de13306.zip
cri-o: Set max log size to 50 mb
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
Diffstat (limited to 'roles/docker/templates')
-rw-r--r--roles/docker/templates/crio.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/docker/templates/crio.conf.j2 b/roles/docker/templates/crio.conf.j2
index b715c2ffa..93014a80d 100644
--- a/roles/docker/templates/crio.conf.j2
+++ b/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.