-
Notifications
You must be signed in to change notification settings - Fork 238
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
fix: Trino scale-down to zero with KEDA #726
base: main
Are you sure you want to change the base?
Conversation
Add comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @bbgu1 👍🏼 . Left a few comments to address.
repository_username = data.aws_ecrpublic_authorization_token.token.user_name | ||
repository_password = data.aws_ecrpublic_authorization_token.token.password |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific reason for omitting this? This would result in 403 while accessing karpenter helm_chart.
``` | ||
|
||
Now, lets access the Trino UI by pasting above Load Balancer DNS in a web browser and login with username `admin` in the login window as shown below: | ||
Now, lets access the Trino UI at `http://localhost:8080` through web browser and login with username `admin` in the login window as shown below: | ||
|
||
![Trino UI Login](./img/trino-ui-login.PNG) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace the Trino UI screenshot with "0" Active Workers to match the initial 0 active worker configuration above.
|
||
![Trino UI Login](./img/trino-ui-login.PNG) | ||
|
||
We can see Trino Web UI showing 3 active workers | ||
Example of Trino Web UI showing 3 active workers: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"0" workers
name = "karpenter" | ||
repository = "oci://public.ecr.aws/karpenter" | ||
chart = "karpenter" | ||
version = "1.0.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we also update to the latest Karpenter version 1.1.1?
What does this PR do?
🛑 Please open an issue first to discuss any significant work and flesh out details/direction. When we triage the issues, we will add labels to the issue like "Enhancement", "Bug" which should indicate to you that this issue can be worked on and we are looking forward to your PR. We would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.
Changed KEDA scaled object to improve handling of scaling to zero. Adjusted doc accordingly.
Motivation
The current KEDA scaled object for Trino interrupts active query to scale down. The Trino coordinator often gets evicted when Karpenter replacing node with smaller instance as result of scaling down.
More
website/docs
orwebsite/blog
section for this featurepre-commit run -a
with this PR. Link for installing pre-commit locallyFor Moderators
Additional Notes