summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/README.md
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-09 16:31:20 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-03-09 16:33:10 -0400
commitaa600e99b0d55c38b58e61bac11a4de682780383 (patch)
tree6dbf69270339c899f69569e1cbbf06ac264561c7 /roles/openshift_node/README.md
parentc37deb3723afa23da8235dd0964ba3f3fef3ad6c (diff)
downloadopenshift-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 'roles/openshift_node/README.md')
-rw-r--r--roles/openshift_node/README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_node/README.md b/roles/openshift_node/README.md
index 87913a0d5..9210bab16 100644
--- a/roles/openshift_node/README.md
+++ b/roles/openshift_node/README.md
@@ -21,6 +21,7 @@ From this role:
| openshift_master_public_ips | UNDEF (Required) | List of the public IPs for the openhift-master hosts |
| openshift_master_ips | UNDEF (Required) | List of IP addresses for the openshift-master hosts to be used for node -> master communication |
| openshift_registry_url | UNDEF (Optional) | Default docker registry to use |
+| openshift_node_resources | { capacity: { cpu: , memory: } } | Resource specification for this node, cpu is the number of CPUs to advertise and memory is the amount of memory in bytes to advertise. Default values chosen when not set are the number of logical CPUs for the host and 75% of total system memory |
From openshift_common:
| Name | Default Value | |