edithturn opened a new pull request #20763:
URL: https://github.com/apache/airflow/pull/20763


   Check resources before install docker: Close issue: #20251 
   
   * Memory available
   * CPUs available
   * Disk available
   
   Using **psutil** to calculate available resources in kilobytes, get_size 
function will convert in Gb.
   
   I created a dictionary to add resources available and resources needed.
   
   TODO:
   * Verbose, colors on the console
   * Check if script _in_container_script_init.sh
   * Check if for disk this is taking the mounted on root pat "/"
   * Check if _docker_engine_resources.sh is calling successful to 
run_resource_check.py
   
   @potiuk I will appreciate your feedback.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to