-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Issue #290 - helm chart deployment implementation #375
Issue #290 - helm chart deployment implementation #375
Conversation
I can pull these files, and try a deployment on a sandbox AKS I have, if that would help with validation? |
That would be great, I've noticed that I didn't set image repository in values.yaml, I'll have to do that. For AWS you'll need to add similar adnotations as ones in terraform example. EDIT: added image repository, I knew I forgot something when reusing my private golden template 😅 |
Wow, nice! I will have a closer look latest this weekend, but at first glance this looks great :) |
Thanks, let me know if you find anything over the weekend! |
Will do, I'll give it a whirl tonight or tomorrow night at the latest. (MST Time Zone) |
Pipeline failed because I didn't generate docs after changing the image. I'll push changed docs in a minute EDIT: done |
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.
Hey @jonasz-lasut really good work! thanks for providing this to Tapir :)
While i found a small typo in the ClusterRoleBinding i think we can use this as a first version.
One major improvement (but that could be in another PR) would be to allow PVC in case Tapir is deployed with local
storage in order to not loose the data, stored in there.
After we got this integrated i will also consider to create a Tapir org in GitHub in order to move the Helm chart to a dedicated repo. That would reduce the amount of files to be fetched if you want to deploy the Helm Chart.
What is your opinion on that? Also asking @tlchaffi :)
Hi, glad you found that typo! |
@PacoVK I'll push the change to namespace typo, I also have PVC code prepared but could you please let me know which path in the container should be persistent? I didn't really see that in the docs and I'm not proficient enough in Java to quickly check that |
Awesome, you can mount it under |
…herwise either create a PVC or emptyDir
@PacoVK done, users will be able to create a new PVC, add keep policy to it, reuse exisiting PVC. |
Thanks, I'll give it a shot in the next few days as soon as I find the time for it 👍👍 |
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 think this is now, good to go after fixing the small issues i found in the template :)
Fixed, thanks for looking over the code! |
I tried to deploy this into Azure on an AKS cluster and ran into a problem. Error:
Steps to reproduce:
Initial Output:
Troubleshooting steps:
Pod output attached as log file. |
@tlchaffi did you configure Tapir Helm Chart values to use eg. Azure Blobstorage or Localstorage for artefact persistence (default is S3) and another Database than DynamoDb for the data persistence? --> if not that causes the AWS related Errors Currently Tapir Helm Chart does not include an IDP like Keycloak, hence you need to configure the values to point to your Keycloak (maybe smth. that we can include as well, to make the Helm Chart selfcontained + ElasticSearch as data storage) Than the Helm Chart could be deployed in a greenfield without further config... |
@PacoVK tbh I'd much rather add a documentation page about setting up Keycloak + Elasticsearch with links to the official documentation than create a umbrella chart. It creates more work as you need to update the default values regularly if the additional charts get updates. Maybe we could some CRDs that are flag enabled if ES and Keycloak support official operators, I believe ES does but I'm not sure about Keycloak. |
Good points! I agree that docs should be enough to help getting started |
I did not do any config changes or modifications. I followed what was stated in the charts/README.md file. Perhaps we need to add a line or two where we suggest config changes prior to doing the Helm install? That being said, I can make the necessary adjustments, perhaps using a local storage while in AKS. Where are the instructions for that? |
Adjustments can be found under configuration for the Tapir specific things and in the helm docs for helm related values. @PacoVK I've commited the changes that you've requested, review them when you have time and we probably can merge the code and work on the deployment guides on multiple clouds :) |
@jonasz-lasut cool thanks again, i think we are good to go now. :) My near time goal is to setup a small homepage for Tapir and then move to a dedicated org, this way its easier for community to jump in and also allows Tapir to be recognized as open source non-profit community tool :) As soon as i have created the org, i will move the Helm Chart into a dedicated Repo. If you have any doubts about the plans, please let me know :) |
@PacoVK sounds fine to me! |
Description
PR includes the implementation of Tapir deployment using a helm chart with linting and docs using github workflow.
Implementation of Issue 290
Type of change