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

Add support for Database resource group manager #252

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

yassan
Copy link
Member

@yassan yassan commented Nov 3, 2024

This PR enhances the Trino Helm chart by adding support for the Database resource group manager. Previously, only file-based configurations using ConfigMap were supported.

Additionally, the implementation is closely modeled after the existing accessControl pattern in the chart, ensuring consistency in the configuration approach.

Limitations

In the process of implementing this feature, we considered deploying the MySQL container in the same namespace as Trino to streamline configuration. However, the MySQL service endpoint URL includes the namespace, making it challenging to set a dynamic reference. To maintain stability and avoid complex configurations, we fixed the MySQL namespace as mysql, ultimately deciding against further attempts at a flexible namespace solution for this PR.

@cla-bot cla-bot bot added the cla-signed label Nov 3, 2024
@yassan yassan force-pushed the add-resource-groups-db branch 2 times, most recently from 0f831fb to b41f219 Compare November 4, 2024 00:34
@ebyhr ebyhr requested a review from nineinchnick November 4, 2024 22:22
@nineinchnick nineinchnick added the enhancement New feature or request label Nov 5, 2024
charts/trino/README.md Outdated Show resolved Hide resolved
charts/trino/templates/tests/test-connection.yaml Outdated Show resolved Hide resolved
charts/trino/templates/tests/test-resource-groups-db.yaml Outdated Show resolved Hide resolved
test-resource-groups-configmap-values.yaml Outdated Show resolved Hide resolved
test.sh Outdated Show resolved Hide resolved
@yassan
Copy link
Member Author

yassan commented Nov 6, 2024

I noticed the CI is failing on the graceful_shutdown test case, which seems unrelated to this PR. Should this PR address it, or would it be better to handle it separately?

@yassan yassan force-pushed the add-resource-groups-db branch from ba18e1d to 0a1953e Compare November 6, 2024 16:14
@yassan
Copy link
Member Author

yassan commented Nov 6, 2024

@nineinchnick All issues have been addressed. Could you please review again?

@yassan yassan force-pushed the add-resource-groups-db branch 2 times, most recently from df4f739 to e5f8517 Compare November 7, 2024 10:01
@nineinchnick nineinchnick force-pushed the add-resource-groups-db branch from e17e892 to 2afeac7 Compare November 17, 2024 10:10
@nineinchnick nineinchnick force-pushed the add-resource-groups-db branch from 2afeac7 to 63df119 Compare November 17, 2024 10:19
@nineinchnick nineinchnick merged commit 35cd04e into trinodb:main Nov 17, 2024
10 checks passed
@yassan yassan deleted the add-resource-groups-db branch November 22, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants