disable limits for finance app as it was causing scheduling issues [ci skip]
This commit is contained in:
parent
ffa6c59b7a
commit
97b9812452
3 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 = "af5e99b1-db75-4e3a-b585-b6114005fcec"
|
||||
# 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"
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue