Tags: armadaproject/armada
Tags
Mustafai/priority allocation metrics (#383) (#4262) (#4263) * Exposing new experimental indicative share metrics * Rename and adding default config * Fixing run configurations and nil map bug * Removing config Co-authored-by: Mustafa Ilyas <Mustafa.Ilyas@gresearch.co.uk> Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com> # Conflicts: # internal/scheduler/configuration/configuration.go Co-authored-by: Mustafa Ilyas <MustafaI@users.noreply.github.com>
Fix bug when calculating fairshare in CostBasedCandidateGangIterator (#… …4248) * Fix bug when calculating fairshare in CostBasedCandidateGangIterator The fairshare is supposed to be how much "cost" the queue can have fairly, which is a weighted value However were were instead passing the unweighted value, which is typically fair smaller than the weighted cost - As the weight is a fraction This meant the logic for ordering when queues were below their fairshare was never getting entered This PR fixes how we calculate the fairshare for a queue to use the weighed value Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com> * Rename fairshare Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com> * Simplify budget calculation Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com> * Fix unit test Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com> --------- Signed-off-by: JamesMurkin <jamesmurkin@hotmail.com>
Ensure cache-control headers are always served for index.html response ( #4242) In the Lookout UI web server, the HTTP response headers preventing index.html from being served are only served when the document is accessed directly i.e. when navigating to "/" or "/index.html". They are not served when the document is returned in response to a request path which doesn't exist. (This behaviour is needed for single-page applications because the handling of 404s is deferred to the front end's client side routing.) This commit makes sure these headers are served for the latter as well as the former.
Ensure cache-control headers are always served for index.html response ( #4242) In the Lookout UI web server, the HTTP response headers preventing index.html from being served are only served when the document is accessed directly i.e. when navigating to "/" or "/index.html". They are not served when the document is returned in response to a request path which doesn't exist. (This behaviour is needed for single-page applications because the handling of 404s is deferred to the front end's client side routing.) This commit makes sure these headers are served for the latter as well as the former.
PreviousNext