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 669923b commit 6ec1e88
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 7 deletions.
15 changes: 14 additions & 1 deletion infra/container_apps/user-cdc/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,20 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 1
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 = 1
memory = "2Gi"
}
Expand Down
15 changes: 14 additions & 1 deletion infra/container_apps/user-cdc/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 1
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 = 1
memory = "2Gi"
}
Expand Down
15 changes: 14 additions & 1 deletion infra/container_apps/user-group-cdc/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 1
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 = 1
memory = "2Gi"
}
Expand Down
15 changes: 14 additions & 1 deletion infra/container_apps/user-group-ms/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,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/user-group-ms/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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/user-ms/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,20 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 1
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/user-ms/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,20 @@ tags = {
container_app = {
min_replicas = 1
max_replicas = 1
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 6ec1e88

Please sign in to comment.