Skip to content

Conversation

@hkyyx
Copy link
Member

@hkyyx hkyyx commented Mar 31, 2022

No description provided.

@cla-bot
Copy link

cla-bot bot commented Mar 31, 2022

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.

@cla-bot
Copy link

cla-bot bot commented Mar 31, 2022

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
@cla-bot
Copy link

cla-bot bot commented Mar 31, 2022

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.

@hkyyx hkyyx requested a review from hashhar March 31, 2022 13:39
@cla-bot
Copy link

cla-bot bot commented Mar 31, 2022

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
@cla-bot
Copy link

cla-bot bot commented Apr 1, 2022

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.

@cla-bot
Copy link

cla-bot bot commented Apr 1, 2022

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
Copy link
Member

hashhar commented Apr 1, 2022

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.

@cla-bot
Copy link

cla-bot bot commented Apr 1, 2022

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.

@hkyyx
Copy link
Member Author

hkyyx commented Apr 1, 2022

@hashhar updated

Copy link
Member

@hashhar hashhar left a 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.

@dragonslayer27 dragonslayer27 mentioned this pull request Apr 1, 2022
@hkyyx
Copy link
Member Author

hkyyx commented Apr 5, 2022

@hashhar The CLA is done, maybe you can merge this pr

@hashhar
Copy link
Member

hashhar commented Apr 5, 2022

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Apr 5, 2022

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.

@cla-bot
Copy link

cla-bot bot commented Apr 5, 2022

The cla-bot has been summoned, and re-checked this pull request!

@hashhar
Copy link
Member

hashhar commented Apr 5, 2022

@yanyixing Can you rebase this PR with something like git rebase --reset-author main? One of the commits has a different author so that CLA check is not passing yet.

@hkyyx
Copy link
Member Author

hkyyx commented Apr 5, 2022

@hashhar Thanks for you reminder, the commit is rebased

Copy link
Member

Choose a reason for hiding this comment

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

indentation issue.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes

Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will update this

Copy link
Member

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.

Comment on lines 37 to 38
Copy link
Member

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: ...

Copy link
Member

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.

Copy link
Member Author

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

@hashhar
Copy link
Member

hashhar commented Apr 5, 2022

sorry I missed couple things during review.

Another question, does the ingress terminate TLS? If so then we might want to set http-server.process-forwarded config so that Trino actually accepts connections that were initiated over TLS.

@nicholaslimck
Copy link

@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.

@edmundmiller
Copy link

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

@nicholaslimck
Copy link

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...

@cccs-tom
Copy link
Member

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?

@cccs-tom
Copy link
Member

Adding my review here - I agree that using http-server.process-forwarded or SSL pass-through is going to be deployment-specific and the chart should be flexible enough to allow either configuration. Maybe it's worth documenting these possibilities in the README to avoid user confusion?

Comment on lines +18 to +11
Copy link

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.

Copy link
Member

@bitsondatadev bitsondatadev left a 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:

https://www.youtube.com/watch?v=SObTY-Ce1G4

Copy link
Member

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.

@ckdarby
Copy link

ckdarby commented Jan 27, 2023

The other comment, in Charts.yaml we'll want to use:

kubeVersion: A SemVer range of compatible Kubernetes versions (optional)

@hkyyx
Copy link
Member Author

hkyyx commented Jan 29, 2023

@bitsondatadev Thanks for your review and suggestions, I have updated the pr, please review again.

Copy link
Member

@bitsondatadev bitsondatadev left a 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.

Copy link
Member

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.

Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

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

Let's remove this

Copy link
Member Author

Choose a reason for hiding this comment

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

removed

Copy link
Member

@bitsondatadev bitsondatadev left a 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

Comment on lines +36 to +38
name: {{ $fullName }}
port:
number: {{ $svcPort }}
Copy link
Member

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.

@bitsondatadev
Copy link
Member

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.

@bitsondatadev
Copy link
Member

@hashhar can you take a look here please?

@bitsondatadev
Copy link
Member

Also tagging @losipiuk since you have some k8s experience :)

@hkyyx
Copy link
Member Author

hkyyx commented Mar 11, 2023

@bitsondatadev It seems like this repo is not updated for a long time

@bitsondatadev
Copy link
Member

Im actively looking for a maintainer. @hashhar doesn't currently have the bandwidth.

@mosabua
Copy link
Member

mosabua commented Aug 14, 2023

Could you resolve conflicts?

@mosabua mosabua closed this Aug 14, 2023
@mosabua mosabua reopened this Aug 14, 2023
@mosabua mosabua force-pushed the trino-chart branch 2 times, most recently from a0eb9c8 to ff7c7b5 Compare August 14, 2023 17:57
Co-authored-by: Yixing Yan <yixingyan@gmail.com>
@mosabua mosabua merged commit 78aa246 into trinodb:main Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

9 participants