diff options
author | Maciej Szulik <maszulik@redhat.com> | 2017-03-23 16:01:20 +0100 |
---|---|---|
committer | Maciej Szulik <maszulik@redhat.com> | 2017-09-12 21:49:40 +0200 |
commit | f827350f1d3dea4e910dff1a9698e5cc75fecb93 (patch) | |
tree | 55b66a87413b449be12e81d0a1066d973686e612 /roles/openshift_master/vars | |
parent | faed701d8fd50e7ce6540fd59c2f15fea82de0f6 (diff) | |
download | openshift-f827350f1d3dea4e910dff1a9698e5cc75fecb93.tar.gz openshift-f827350f1d3dea4e910dff1a9698e5cc75fecb93.tar.bz2 openshift-f827350f1d3dea4e910dff1a9698e5cc75fecb93.tar.xz openshift-f827350f1d3dea4e910dff1a9698e5cc75fecb93.zip |
Increase rate limiting in journald.conf
Diffstat (limited to 'roles/openshift_master/vars')
-rw-r--r-- | roles/openshift_master/vars/main.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/openshift_master/vars/main.yml b/roles/openshift_master/vars/main.yml index cf39b73f6..0c681c764 100644 --- a/roles/openshift_master/vars/main.yml +++ b/roles/openshift_master/vars/main.yml @@ -20,3 +20,22 @@ openshift_master_valid_grant_methods: - deny openshift_master_is_scaleup_host: False + +# These defaults assume forcing journald persistence, fsync to disk once +# a second, rate-limiting to 10,000 logs a second, no forwarding to +# syslog or wall, using 8GB of disk space maximum, using 10MB journal +# files, keeping only a days worth of logs per journal file, and +# retaining journal files no longer than a month. +journald_vars_to_replace: +- { var: Storage, val: persistent } +- { var: Compress, val: yes } +- { var: SyncIntervalSec, val: 1s } +- { var: RateLimitInterval, val: 1s } +- { var: RateLimitBurst, val: 10000 } +- { var: SystemMaxUse, val: 8G } +- { var: SystemKeepFree, val: 20% } +- { var: SystemMaxFileSize, val: 10M } +- { var: MaxRetentionSec, val: 1month } +- { var: MaxFileSec, val: 1day } +- { var: ForwardToSyslog, val: no } +- { var: ForwardToWall, val: no } |