disable limits for finance app as it was causing scheduling issues [ci skip]
This commit is contained in:
parent
9fa9484303
commit
744d774f7b
2 changed files with 7 additions and 15 deletions
10
main.tf
10
main.tf
|
|
@ -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 = "REDACTED_PROXMOX_TOKEN"
|
||||
# pm_api_token_id = "root@pam!terraform"
|
||||
# }
|
||||
|
||||
|
||||
# resource "proxmox_vm_qemu" "k8s-master-pve" {
|
||||
# name = "test"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue