Red Hat Bugzilla – Bug 1466052
[RFE][UX] Reconfigure OpenShift on RHV hot-add CPU
Last modified: 2018-02-05 09:56:50 EST
Description of enhancement:
With later version of Docker, hot-adding CPU(s) is detected and Docker adjusts automatically. Enhancement request is for OpenShift to similarly adjust.
Version-Release number of selected component (if applicable):
* systemctl restart atomic-openshift-node
We encountered this when deploying pods on nodes using default values. Some pods went into PENDING due to Insufficient pods.
"oc describe nodes" can be used to see the current values and pods running on that node.
"docker info" is similarly used to see its current values
Thom, Can you provide some more details here? What, exactly, would you like to adjust within OpenShift?
For example, by default a node allows 10 x number_of_cpus as the capacity/allocatable (e.g. for 2 CPUs, only 20 pods are allowed to run). We reached that limit of non-terminated pods
I added more CPUs to the VM running the OpenShift node (e.g. 4):
* The CPUs were visible from RHEL
* Docker also detected the change
* OpenShift did not -- instead, I needed to restart the service for the limit to change
The RFE is for OpenShift to detect and adjust on the fly without user intervention.
It is important to note this would apply for *any* CPU-derived parameters, not just the example I used.
Thanks Thom. I suspect, also, that someone would want to opt in to this behavior. For instance I should be able to have my value honored if I want to limit capacity or want to reserve resources for non-OpenShift items.
Paul, I'm unclear if the default should be opt-in or opt-out. However, the end-user having the freedom to select (especially for NUMA) is a great point.