oss-aspen / 8Knot

Dash app in development to serve open source community visualizations using GitHub data from Augur. Hosted app: https://eightknot.osci.io
MIT License
47 stars 59 forks source link

Set memory, cpu 'requests' on all Openshift pods #414

Closed JamesKunstle closed 1 year ago

JamesKunstle commented 1 year ago

One way that we can guarantee app performance is to simply schedule more contemporary threads.

However, those threads should have some guaranteed operating headroom. It's annoying if pods are killed by OOM because we didn't specify their requirements in the metadata.

If we set the 'requests' flag in the OCP deployment configuration we'll be reserving resources for the scheduled pods, guaranteeing that if a pod is scheduled, it'll at LEAST have the resources requested.

JamesKunstle commented 1 year ago

cory did this in the openshift resource definitions. Now we just need to decide what the appropriate headroom is.