add limits to finance app resources as its breaking stuff every now and then [ci skip]

This commit is contained in:
Viktor Barzin 2023-11-15 18:13:04 +00:00
parent 5f9d421568
commit 07a805267f

View file

@ -96,6 +96,12 @@ resource "kubernetes_deployment" "finance_app" {
image = "viktorbarzin/finance-app:latest"
name = "finance-app"
image_pull_policy = "Always"
resources {
limits = {
cpu = "2000m"
memory = "2Gi"
}
}
env {
name = "ENVIRONMENT"