diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-09 16:31:20 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-09 16:33:10 -0400 |
commit | aa600e99b0d55c38b58e61bac11a4de682780383 (patch) | |
tree | 6dbf69270339c899f69569e1cbbf06ac264561c7 /lib/launch_helper.rb | |
parent | c37deb3723afa23da8235dd0964ba3f3fef3ad6c (diff) | |
download | openshift-aa600e99b0d55c38b58e61bac11a4de682780383.tar.gz openshift-aa600e99b0d55c38b58e61bac11a4de682780383.tar.bz2 openshift-aa600e99b0d55c38b58e61bac11a4de682780383.tar.xz openshift-aa600e99b0d55c38b58e61bac11a4de682780383.zip |
Allow for overriding node resources
- add variable openshift_node_resources to openshift_node role
- set default value for openshift_node_resources to
{ capacity: { cpu: ,memory: }}
- If cpu is not set, then the default value will be chosen by the
openshift_register_node module (num logical cpus)
- If memory is not set, then the default value will be chosen by the
openshift_register_node module (75% MemTotal according to /proc/meminfo)
Diffstat (limited to 'lib/launch_helper.rb')
0 files changed, 0 insertions, 0 deletions