How to calculate number of total containers in cluster?
Does it depend on Memory? or VCores ? How can I get the exact number of containers which are available in my cluster.?
The following link may be usefull for your question
For calculating maximum number of containers allowed per node. The following formula can be used:
# of containers = min (2*CORES, 1.8*DISKS, (Total available RAM) / MIN_CONTAINER_SIZE)
Where MIN_CONTAINER_SIZE is the minimum container size (in RAM). This value is dependent on the amount of RAM available -- in smaller memory nodes, the minimum container size should also be smaller