zooniverse / designator

Smart task assignment system
2 stars 1 forks source link

update designator service K8s resources usage #116

Closed camallen closed 3 years ago

camallen commented 3 years ago

this PR modifies the

Currently the pods (measure after ~60days of service) are using much less in the wild.


$ kubectl top pod --containers | grep designator
designator-production-app-57f9cfd984-5x5mk                 designator-production-app        11m          269Mi           
designator-staging-app-5b46778788-kfk9q                    designator-staging-app                  1m            86Mi 
``

Freeing up the request RAM means the other pods can schedule and share the node resources.

When a request is made and a pod is scheduled this compute resource request (CPU/RAM) is allocated for the pod and contributes against the available value on each node. Once a node reaches it's total available it won't schedule any other pods due to be at capacity (unavailable) even if the underling pods aren't using these computer resources.