trinodb / charts

Apache License 2.0
151 stars 173 forks source link

dynamic catalog.management #128

Closed stefanondisponibile closed 5 months ago

stefanondisponibile commented 10 months ago

Currently it is not possible to easily use dynamic catalog management because ConfigMaps are mounted as ReadOnly into the coordinator Pod.

It would be nice having a way to work around that, do you have any ideas? Creating an EmptyDir and then moving the files from the current ConfigMap there?

jonathanbisp commented 9 months ago

I really need this feature, and I am not so deep in the project. However, what about use a PersistentVolumeClaim instead? So we will be able to restart the coordinator, without lost the changes.

nineinchnick commented 5 months ago

You can mount a persistent volume and change the directory where Trino keeps catalogs. Here's an example how it can be done: https://github.com/trinodb/charts/pull/178

Until Trino changes default catalog management from static to dynamic, I don't think there are any changes required in the chart.

nsoria1 commented 2 months ago

What about now? I think the option to make it dynamically is available but the example values are not showing how to achieve it