diff options
author | Jeff Cantrill <jcantril@redhat.com> | 2017-10-26 10:15:25 -0400 |
---|---|---|
committer | Jeff Cantrill <jcantril@redhat.com> | 2017-10-27 09:01:57 -0400 |
commit | 205d03455cf37d66f3629de7951463d755b72b16 (patch) | |
tree | 58a894d2b928fcdcb542b50ba2eb6fb56f89cc54 /roles/openshift_logging_mux | |
parent | 34f6e3e2543ab961bcded8cbc7e531a7bbf5b02c (diff) | |
download | openshift-205d03455cf37d66f3629de7951463d755b72b16.tar.gz openshift-205d03455cf37d66f3629de7951463d755b72b16.tar.bz2 openshift-205d03455cf37d66f3629de7951463d755b72b16.tar.xz openshift-205d03455cf37d66f3629de7951463d755b72b16.zip |
bug 1506073. Lower cpu request for logging when it exceeds limit
Diffstat (limited to 'roles/openshift_logging_mux')
-rw-r--r-- | roles/openshift_logging_mux/tasks/main.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging_mux/tasks/main.yaml b/roles/openshift_logging_mux/tasks/main.yaml index 1b46a7ac3..5b257139e 100644 --- a/roles/openshift_logging_mux/tasks/main.yaml +++ b/roles/openshift_logging_mux/tasks/main.yaml @@ -171,7 +171,7 @@ ops_host: "{{ openshift_logging_mux_ops_host }}" ops_port: "{{ openshift_logging_mux_ops_port }}" mux_cpu_limit: "{{ openshift_logging_mux_cpu_limit }}" - mux_cpu_request: "{{ openshift_logging_mux_cpu_request }}" + mux_cpu_request: "{{ openshift_logging_mux_cpu_request | min_cpu(openshift_logging_mux_cpu_limit | default(none)) }}" mux_memory_limit: "{{ openshift_logging_mux_memory_limit }}" mux_replicas: "{{ openshift_logging_mux_replicas | default(1) }}" mux_node_selector: "{{ openshift_logging_mux_nodeselector | default({}) }}" |