add limits to finance app resources as its breaking stuff every now and then [ci skip]
This commit is contained in:
parent
5f9d421568
commit
07a805267f
1 changed files with 6 additions and 0 deletions
|
|
@ -96,6 +96,12 @@ resource "kubernetes_deployment" "finance_app" {
|
||||||
image = "viktorbarzin/finance-app:latest"
|
image = "viktorbarzin/finance-app:latest"
|
||||||
name = "finance-app"
|
name = "finance-app"
|
||||||
image_pull_policy = "Always"
|
image_pull_policy = "Always"
|
||||||
|
resources {
|
||||||
|
limits = {
|
||||||
|
cpu = "2000m"
|
||||||
|
memory = "2Gi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
env {
|
env {
|
||||||
name = "ENVIRONMENT"
|
name = "ENVIRONMENT"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue