disable limits for finance app as it was causing scheduling issues [ci skip]

This commit is contained in:
Viktor Barzin 2023-12-06 10:34:39 +00:00
parent ffa6c59b7a
commit 97b9812452
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 changed files with 7 additions and 15 deletions

10
main.tf
View file

@ -106,15 +106,7 @@ provider "helm" {
# comment = "VLAN 99"
# }
# provider "proxmox" {
# pm_debug = true
# pm_api_url = "https://10.0.10.105:8006/api2/json"
# # pm_user = "root"
# # pm_password = "wizard"
# pm_tls_insecure = true
# pm_api_token_secret = "af5e99b1-db75-4e3a-b585-b6114005fcec"
# pm_api_token_id = "root@pam!terraform"
# }
# resource "proxmox_vm_qemu" "k8s-master-pve" {
# name = "test"

View file

@ -96,12 +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"
}
}
# resources {
# limits = {
# cpu = "1"
# memory = "2Gi"
# }
# }
env {
name = "ENVIRONMENT"

Binary file not shown.