powerful-soccer-11224
11/15/2022, 6:50 AMAllocated CPU: 96C
Allocated Memory: 188GiB
Allocated Storage: 758GiB
Now when we are trying to create VMs (CPU: 4cores
Memory: 8Gi
)on the node using our custom k8s controller (operator), we observed that Actual memory usage was close to 35%, but the reserved memory on the Harvester node was almost 99% and VM creation was not going through anymore.
(attached snippet). Can anyone explain me the reason for this and how can we overcome this ?full-plastic-79795
11/15/2022, 7:34 AMkubectl describe node <NODE NAME>
to see which vm requested a large valueancient-pizza-13099
11/15/2022, 11:26 AMcreate vm
WEBUI, the default memory unit is Gb
, not Mb
.
kubectl get pods -A -o yaml | yq e '.items[].metadata.name' -
kubectl get pods -A -o yaml | yq e '.items[].spec.containers[].resources.requests.memory' -
kubectl get pods -A -o yaml | yq e '.items[].spec.containers[].resources.limits.memory' -
powerful-soccer-11224
11/15/2022, 11:43 AM