Skip to content

Conversation

@ytsarev
Copy link
Member

@ytsarev ytsarev commented Oct 2, 2025

Description of your changes

Adjust AI autoscaling scenario

Add perf stress test script

Bump to use latest function-rds-metrics

I have:

  • Read and followed Upbound's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

Multiple e2e tests with perf test, plus 1 failure on stage :D

Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
@ytsarev ytsarev requested a review from kaessert October 2, 2025 13:57
- High Memory usage (FreeableMemory <20% of total): Consider memory-optimized instance
- High IOPS (>80% of provisioned): Consider increasing storage or instance class
- High connections (>80% of max): Consider increasing instance class
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] trailing spaces (trailing-spaces)

* Memory usage < 40%
* Connections < 30% of capacity
* No recent scaling events (check annotations for last scaling time)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] trailing spaces (trailing-spaces)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] trailing spaces (trailing-spaces)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] trailing spaces (trailing-spaces)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] trailing spaces (trailing-spaces)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] trailing spaces (trailing-spaces)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] trailing spaces (trailing-spaces)

name: claude
retryLimit: 3
schedule: '*/10 * * * *' # Run every 10 minute for testing
schedule: '*/1 * * * *' # Run every 2 minutes for demo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every minute not? 🤔

Copy link
Member Author

@ytsarev ytsarev Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think every minute was for the stage demo as attempt to create faster reaction, will fix it back to 2 minutes, I guess, thanks for the catch!

Signed-off-by: Yury Tsarev <yury@upbound.io>
period: 60
target: "status.performanceMetrics"
credentials:
- name: aws-creds
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] wrong indentation: expected 4 but found 6 (indentation)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[yamllint] reported by reviewdog 🐶
[error] wrong indentation: expected 4 but found 6 (indentation)

@ytsarev ytsarev requested a review from kaessert October 2, 2025 14:09
@ytsarev ytsarev merged commit 8373d8c into main Oct 2, 2025
2 of 3 checks passed
@ytsarev ytsarev deleted the demo-sofia branch October 2, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants