<p>I want to deploy many softwares in a kubernetes cluster. I have information like the configuration of each software like the number of pods, request and limits of cpu and RAM for each software. </p>

<p>My requirement is all the softwares should be provisioned successfully or none of them should be provisioned even if one software fails. Failure can be because there are no enough resources in the kubernetes cluster</p>

<p>How do I check if my cluster has sufficient resources to provision all the softwares even before actual deployment of the softwares</p>

ramnar
<p><strong>AFAIK kubernetes does not support deploying either all or none application.</strong></p>

<p>I think you have to do the maths by yourself. </p>

<p>You said, every information you need is there (Requirements for all the Services).
This should help you planning your clusters dimensions.</p>

<p>Know you should calculate this on node basis. Lets say, you need 16GB Memory. Your nodes bring 8gb per Machine. Your Cluster should provide at least 24GB (3 Nodes) Memory for your application (beside monitoring tools etc.).</p>

<p>Always calculate something on top, because OS and Monitoring-Tools will take a little bit of your nodes resource.</p>
