Skip to content

Commit

Permalink
fix(enterprise): lower workflow resource minima
Browse files Browse the repository at this point in the history
The minimum resource request values for workflows were too high. We
lower them to more sensible levels here.
  • Loading branch information
thsig committed Jan 18, 2021
1 parent 3c2747a commit e457bde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/config/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ export const workflowConfigSchema = () =>
cpu: joi
.number()
.default(defaultContainerLimits.cpu)
.min(1000)
.min(500)
.description("The maximum amount of CPU the workflow pod can use, in millicpus (i.e. 1000 = 1 CPU)"),
memory: joi
.number()
.default(defaultContainerLimits.memory)
.min(1024)
.min(256)
.description("The maximum amount of RAM the workflow pod can use, in megabytes (i.e. 1024 = 1 GB)"),
})
.default(defaultContainerLimits),
Expand Down

0 comments on commit e457bde

Please sign in to comment.