Skip to content

Commit

Permalink
feat: [PAYMCLOUD-207] Update event routing and scale node pool limits (
Browse files Browse the repository at this point in the history
…#2734)

Update event routing and scale node pool limits

Added "NotTriggerScaleUp" to critical event routing in multiple environments and removed it from warnings. Adjusted the maximum node count in the weu-prod environment from 9 to 10 to improve scaling capabilities.

Signed-off-by: Fabio Felici <[email protected]>
  • Loading branch information
ffppa authored Jan 21, 2025
1 parent 36e1f97 commit 45299d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ config:
type: "Warning"
- receiver: "${opsgenie_receiver_name}-critical"
reason: "Failed"
- receiver: "${opsgenie_receiver_name}-critical"
reason: "NotTriggerScaleUp"
- drop:
- reason: "Unhealthy"
- kind: "HorizontalPodAutoscaler"
Expand All @@ -79,6 +81,4 @@ config:
reason: "TerminateScheduled"
- receiver: ${opsgenie_receiver_name}-warning
reason: "PreemptScheduled"
- receiver: "${opsgenie_receiver_name}-warning"
reason: "NotTriggerScaleUp"
%{ endif }
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ config:
type: "Warning"
- receiver: "${opsgenie_receiver_name}-critical"
reason: "Failed"
- receiver: "${opsgenie_receiver_name}-critical"
reason: "NotTriggerScaleUp"

- drop:
- reason: "Unhealthy"
- kind: "HorizontalPodAutoscaler"
Expand All @@ -79,6 +82,4 @@ config:
reason: "TerminateScheduled"
- receiver: ${opsgenie_receiver_name}-warning
reason: "PreemptScheduled"
- receiver: "${opsgenie_receiver_name}-warning"
reason: "NotTriggerScaleUp"
%{ endif }
2 changes: 1 addition & 1 deletion src/aks-platform/env/weu-prod/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ aks_user_node_pool = {
os_disk_type = "Ephemeral"
os_disk_size_gb = "300"
node_count_min = "8"
node_count_max = "9"
node_count_max = "10"
node_labels = { node_name : "aks-user-01", node_type : "user" },
node_taints = [],
node_tags = { node_tag_1 : "1" },
Expand Down

0 comments on commit 45299d4

Please sign in to comment.