-
Notifications
You must be signed in to change notification settings - Fork 212
Add Ingress to trino chart #39
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
Conversation
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
1 similar comment
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
1 similar comment
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
|
That values merging has been merged in #41 since it's already ready. Can you just keep the ingress changes in this PR and I'll merge then. Please also don't bump the chart version yet, we'll do that when planning a release. |
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
|
@hashhar updated |
hashhar
left a comment
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.
Thank you.
I'll merge once CLA is processed. It's a partially manual process and is processed in batches weekly.
|
@hashhar The CLA is done, maybe you can merge this pr |
|
@cla-bot check |
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please submit the signed CLA to cla@trino.io. For more information, see https://github.com/trinodb/cla. |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
@yanyixing Can you rebase this PR with something like |
|
@hashhar Thanks for you reminder, the commit is rebased |
charts/trino/templates/ingress.yaml
Outdated
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.
indentation issue.
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.
fixed
charts/trino/templates/ingress.yaml
Outdated
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.
did you mean values.ingress.tls.secretName?
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.
yes
charts/trino/templates/ingress.yaml
Outdated
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.
why not use networking.k8s.io/v1 available from 1.19-0? It's been available for quite a while.
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.
I will update this
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.
@yanyixing could you please update this version.
charts/trino/templates/ingress.yaml
Outdated
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.
Also is this correct? I thought it's service.name as in:
service:
name: ...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.
Also, pathType is required AFAIK.
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.
fullName is a variable which is refer to the trino.fullname, and the service name is also trino.fullname, so this will be ok
|
sorry I missed couple things during review. Another question, does the ingress terminate TLS? If so then we might want to set |
|
@hashhar Hope that this PR can be merged soon! I was about to use this helm chart until I noticed it was missing configuration options for ingress. |
|
This helm chart looks like it gets updated and has an ingress in case anyone is interested https://artifacthub.io/packages/helm/valeriano-manassero/trino |
I saw that chart too, but since I started using this chart I was hoping that Ingress support could be quickly added. Especially since this PR has been pretty much ready to merge for the last few months... |
|
I want to chime in my support for merging this @hashhar. Our team is in the process of migrating to this chart because we were under the impression that it is Trino's "official" chart. Is that assumption incorrect? |
|
Adding my review here - I agree that using |
charts/trino/templates/ingress.yaml
Outdated
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.
Maybe another PR, but we probably want these common things to be in the template helper file.
bitsondatadev
left a comment
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.
We should avoid supporting any version outside of the k8s support window. See more info here:
charts/trino/templates/ingress.yaml
Outdated
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.
@yanyixing could you please update this version.
|
The other comment, in Charts.yaml we'll want to use: kubeVersion: A SemVer range of compatible Kubernetes versions (optional) |
|
@bitsondatadev Thanks for your review and suggestions, I have updated the pr, please review again. |
bitsondatadev
left a comment
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.
Let's remove all version comparisons assuming that people are using the supported k8s versions.
charts/trino/templates/ingress.yaml
Outdated
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.
@yanyixing lets get rid of this as well.
charts/trino/templates/ingress.yaml
Outdated
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.
Remove this if as it is required
charts/trino/templates/ingress.yaml
Outdated
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.
Let's remove this
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.
removed
bitsondatadev
left a comment
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.
Looks good barring one open question I have to be addressed by Ashhar
| name: {{ $fullName }} | ||
| port: | ||
| number: {{ $svcPort }} |
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.
One last thought is that perhaps we should enable users to override these values (e.g. if they have a sidecar metrics app or something) and make the Trino name/port number the defaults. I'll defer this decision to @hashhar but otherwise, I approve.
|
Update: Ashhar is just getting back from leave so he'll need a week or so to catch up on things. Just wanted to keep y'all updated since this one has been touch and go. |
|
@hashhar can you take a look here please? |
|
Also tagging @losipiuk since you have some k8s experience :) |
|
@bitsondatadev It seems like this repo is not updated for a long time |
|
Im actively looking for a maintainer. @hashhar doesn't currently have the bandwidth. |
|
Could you resolve conflicts? |
a0eb9c8 to
ff7c7b5
Compare
Co-authored-by: Yixing Yan <yixingyan@gmail.com>
No description provided.