Skip to content

Commit

Permalink
chore: Adding new scale rule for UAT
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-putzu committed Dec 9, 2024
1 parent 78f9a28 commit 8af7121
Showing 6 changed files with 96 additions and 18 deletions.
19 changes: 16 additions & 3 deletions infra/container_apps/hub_spid_login/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -15,9 +15,22 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 2
scale_rules = []
cpu = 0.5
memory = "1Gi"
scale_rules = [
{
custom = {
metadata = {
"desiredReplicas" = "1"
"start" = "0 8 * * MON-FRI"
"end" = "0 19 * * MON-FRI"
"timezone" = "Europe/Rome"
}
type = "cron"
}
name = "cron-scale-rule"
}
]
cpu = 0.5
memory = "1Gi"
}


19 changes: 16 additions & 3 deletions infra/container_apps/hub_spid_login/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -14,9 +14,22 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 2
scale_rules = []
cpu = 0.5
memory = "1Gi"
scale_rules = [
{
custom = {
metadata = {
"desiredReplicas" = "1"
"start" = "0 8 * * MON-FRI"
"end" = "0 19 * * MON-FRI"
"timezone" = "Europe/Rome"
}
type = "cron"
}
name = "cron-scale-rule"
}
]
cpu = 0.5
memory = "1Gi"
}

app_settings = [
19 changes: 16 additions & 3 deletions infra/container_apps/onboarding-cdc/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -15,9 +15,22 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 1
scale_rules = []
cpu = 1
memory = "2Gi"
scale_rules = [
{
custom = {
metadata = {
"desiredReplicas" = "1"
"start" = "0 8 * * MON-FRI"
"end" = "0 19 * * MON-FRI"
"timezone" = "Europe/Rome"
}
type = "cron"
}
name = "cron-scale-rule"
}
]
cpu = 1
memory = "2Gi"
}

app_settings = [
19 changes: 16 additions & 3 deletions infra/container_apps/onboarding-cdc/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -14,9 +14,22 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 1
scale_rules = []
cpu = 1
memory = "2Gi"
scale_rules = [
{
custom = {
metadata = {
"desiredReplicas" = "1"
"start" = "0 8 * * MON-FRI"
"end" = "0 19 * * MON-FRI"
"timezone" = "Europe/Rome"
}
type = "cron"
}
name = "cron-scale-rule"
}
]
cpu = 1
memory = "2Gi"
}

app_settings = [
19 changes: 16 additions & 3 deletions infra/container_apps/onboarding-ms/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -15,9 +15,22 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 2
scale_rules = []
cpu = 0.5
memory = "1Gi"
scale_rules = [
{
custom = {
metadata = {
"desiredReplicas" = "1"
"start" = "0 8 * * MON-FRI"
"end" = "0 19 * * MON-FRI"
"timezone" = "Europe/Rome"
}
type = "cron"
}
name = "cron-scale-rule"
}
]
cpu = 0.5
memory = "1Gi"
}

app_settings = [
19 changes: 16 additions & 3 deletions infra/container_apps/onboarding-ms/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -14,9 +14,22 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 2
scale_rules = []
cpu = 0.5
memory = "1Gi"
scale_rules = [
{
custom = {
metadata = {
"desiredReplicas" = "1"
"start" = "0 8 * * MON-FRI"
"end" = "0 19 * * MON-FRI"
"timezone" = "Europe/Rome"
}
type = "cron"
}
name = "cron-scale-rule"
}
]
cpu = 0.5
memory = "1Gi"
}

app_settings = [

0 comments on commit 8af7121

Please sign in to comment.