plugin: enforce preemptible-after
limits, set preemptible-after
default
#555
Labels
preemptible-after
limits, set preemptible-after
default
#555
The priority plugin will need to do two separate things concerning
preemptible-after
attributes for a job:preemptible-after
attribute for their job and they are running under a special bank that hasmax-preemptible-after
configured, the job should be updated to include this attribute. This could probably happen in the callback forjob.new
, where default bank and default project name jobspec-updates are also currently happening.preemptible-after
attribute for their job, it should be validated to make sure that the value is not greater than themax-preemptible-after
value set for the bank. If it is, it should automatically be lowered to whatever the max is. I'm thinking this could probably also happen in the callback forjob.new
since jobs won't be rejected in case the value is too high, it'll just be updated.The text was updated successfully, but these errors were encountered: