We are using Rancher v1.6.18. We have around 220 stacks running in rancher farm.
3 Rancher Masters
1 Rancher Db Host
70 Rancher Hosts
It is seen that the Docker process consumes complete memory of the Rancher host.This make the Rancher hosts unresponsive.
In order to resolve this we need to clean up the whole Rancher Hosts which include:
Stopping all the stacks
Removing Docker images, containers, Volumes
Removing /var/lib/docker, /var/lib/rancher
Reboot the Rancher host
Adding back to Rancher farm
Current Resource Limits:
Can you let us know how can we restrict the memory for docker process on Rancher Host?
Is there a way we can Manage the CPU and Memory usage?
Also should we upgrade to 1.6.26 version? Will this help resolve the Memory issue on the rancher hosts?