Skip to content

Commit

Permalink
[SELC-6134] Adding new scale rule for UAT (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-putzu authored Dec 9, 2024
1 parent f558b5d commit 696be71
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
15 changes: 14 additions & 1 deletion infra/container_apps/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,20 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 2
scale_rules = []
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"
}
Expand Down
15 changes: 14 additions & 1 deletion infra/container_apps/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,20 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 2
scale_rules = []
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"
}
Expand Down

0 comments on commit 696be71

Please sign in to comment.