Skip to content

Commit

Permalink
Merge pull request #26 from flowforge/limits-typo-0.3.x
Browse files Browse the repository at this point in the history
Fix typo in pod limits
  • Loading branch information
hardillb authored Apr 4, 2022
2 parents a57d65a + caa8678 commit 4820ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ const createPod = async (project, options) => {

if (stack.memory && stack.cpu) {
localPod.spec.containers[0].resources.request.memory = `${stack.memory}Mi`
localPod.spec.containers[0].resources.limit.memory = `${stack.memory}Mi`
localPod.spec.containers[0].resources.limits.memory = `${stack.memory}Mi`
localPod.spec.containers[0].resources.request.cpu = `${stack.cpu * 10}m`
localPod.spec.containers[0].resources.limit.cpu = `${stack.cpu * 10}m`
localPod.spec.containers[0].resources.limits.cpu = `${stack.cpu * 10}m`
}

const localService = JSON.parse(JSON.stringify(serviceTemplate))
Expand Down

0 comments on commit 4820ee8

Please sign in to comment.