Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RHCLOUD-28890] Test engine autoscaler #2798

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .rhcicd/clowdapp-engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,31 @@ objects:
value: ${PROCESSOR_CONNECTORS_MIN_DELAY_SINCE_FIRST_SERVER_ERROR}
- name: NOTIFICATIONS_USE_OCM_REFACTORED_TEMPLATES
value: ${NOTIFICATIONS_USE_OCM_REFACTORED_TEMPLATES}
autoScaler:
minReplicaCount: ${{MIN_REPLICAS}}
maxReplicaCount: 6
externalHPA: true
triggers:
- metadata:
serverAddress: http://prometheus-app-sre.openshift-customer-monitoring.svc.cluster.local:9090
query: kafka_consumergroup_group_topic_sum_lag{topic=~".*platform.notifications.ingress"}
threshold: "25"
type: prometheus
metricType: Value
advanced:
horizontalPodAutoscalerConfig:
behavior:
scaleDown:
stabilizationWindowSeconds: 180
policies:
- type: Pods
value: 2
periodSeconds: 60
scaleUp:
policies:
- type: Pods
value: 2
periodSeconds: 30
parameters:
- name: CLOUDWATCH_ENABLED
description: Enable Cloudwatch (or not)
Expand Down
Loading