dlr-eoc / prosEO

prosEO – A Processing System for Earth Observation Data
GNU General Public License v3.0
14 stars 1 forks source link

Production Planner: Changes implied by data model v1.4 #154

Closed tangobravo62 closed 2 years ago

tangobravo62 commented 3 years ago

Some attributes have been added in the data model v1.4. For these attributes to be evaluated, the following changes need to be made to the Production Planner:

emelchinger commented 3 years ago

Implemented and locally tested.

  1. As expected
  2. The resource requests are sent to Kubernetes:
    
                    resources: class V1ResourceRequirements {
                        limits: null
                        requests: {memory=Quantity{number=1073741824, format=BINARY_SI}, ephemeral-storage=Quantity{number=1073741824, format=BINARY_SI}, cpu=Quantity{number=1, format=DECIMAL_SI}}
                    }

3. Kubernetes does the balancing of of jobs and nodes itself. The number of jobs created by the planner is now: nodeCount * maxJobsPerNode 
tangobravo62 commented 2 years ago

Verified and OK.