on kubernetes, one can blindly create a resource (such as deployment, service, pods, etc.). the resouce will be created only if there are enough system resources on the kubernetes nodes\cluster.
- how does one check that there are enough node resources before creating kubernetes resources (check whether a scale-out and\or scale-up are required)?
- what is the best practice to check and asses that the kubernetes cluster can sustain a newly created resource before the resource is created (without doing any manual calculations)?