charts icon indicating copy to clipboard operation
charts copied to clipboard

dynamic catalog.management

Open stefanondisponibile opened this issue 1 year ago • 1 comments

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?

stefanondisponibile avatar Jan 24 '24 20:01 stefanondisponibile

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.

jonathanbisp avatar Jan 30 '24 02:01 jonathanbisp

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.

nineinchnick avatar Jun 01 '24 11:06 nineinchnick

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

nsoria1 avatar Sep 12 '24 14:09 nsoria1