Skip to content

Commit

Permalink
feat(editor-lti-tool): add resources config
Browse files Browse the repository at this point in the history
  • Loading branch information
hugotiburtino committed Aug 8, 2024
1 parent 15e7a81 commit 1b346fe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/editor-as-lti-tool/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,16 @@ resource "kubernetes_deployment" "editor_as_lti_tool" {
name = "SERLO_EDITOR_TESTING_SECRET"
value = var.serlo_editor_testing_secret
}
resources {
requests = {
cpu = "20m"
memory = "200Mi"
}
limits = {
cpu = "50m"
memory = "350Mi"
}
}
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions modules/editor-as-lti-tool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ global:
storageClass: standard
auth:
rootPassword: ${mongodb_root_password}
resources:
requests:
cpu: 30m
memory: 300Mi
limits:
cpu: 50m
memory: 500Mi

0 comments on commit 1b346fe

Please sign in to comment.