rstudio / helm

Helm Resources for RStudio Products
MIT License
36 stars 28 forks source link

adding resources to the defaultInitContainer #541

Open tkraan opened 3 months ago

tkraan commented 3 months ago

Our kubernetes environment has some restraints and therefore we need to set up resource definitions for every container that is started.

We are able to setup the resource definitions for the job container using:

      "*": 
        default-cpus: .5 
        default-mem-mb: 512 
        cpu-request-ratio: .5 
        memory-request-ratio: .5

But we are using the defaultInitContainer from the values.yaml file which does not allow for setting up resource definitions.

Therefore the job will not start.