helm chart fix/update#11427
helm chart fix/update#11427oliverdding wants to merge 6 commits intoapache:masterfrom oliverdding:master
Conversation
* Remove licence comment at the beginning of template files * Remove sub-charts * Remove some configs that has default value * Move `druid.segmentCache.locations` default value to the mounted path * Add hdfs's mount point in historical node and middlemanager node
Co-authored-by: Benedict Jin <asdf2014@apache.org>
Co-authored-by: Benedict Jin <asdf2014@apache.org>
asdf2014
left a comment
There was a problem hiding this comment.
LGTM, thank you for your contribution
|
@asdf2014 is there anything left to merge this change? |
|
@suneet-s No, all good |
|
@oliverdding thanks for the contribution. I don't know a lot about helm charts. How can we validate that the helm chart continues to work as new code changes come in? Are there any integration tests that will prove this works with every release of Apache Druid? |
As far as I known, no... Helm chart maintainer have to konw the great picture of Druid, and helm chart is like a script for deploying, only who had read the whole chart may tell what should be changeh in the next release... |
|
Thank you for your contribution @oliverdding. I had some questions and suggestions
|
| druid_metadata_storage_connector_connectURI: jdbc:postgresql://postgres:5432/druid | ||
| druid_metadata_storage_connector_user: druid | ||
| druid_metadata_storage_connector_password: druid | ||
| druid_extensions_loadList: '["druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage"]' |
There was a problem hiding this comment.
what is the reason for removing druid-histogram from here?
There was a problem hiding this comment.
Because the doc says that it's deprecated and should use druid-datasketches instead.
|
|
||
| ## Druid Common Configurations. ref: https://druid.apache.org/docs/latest/configuration/index.html#common-configurations | ||
| druid_extensions_loadList: '["druid-histogram", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage"]' | ||
| druid_metadata_storage_type: postgresql |
There was a problem hiding this comment.
as suggested, this whole section can go into postgres/values.yaml so existing users can still use postgres without changing the chart etc.
| # 2. add `"druid-hdfs-storage"` to `druid_extensions_loadList` | ||
| # 3. supply configmap's name which contains hdfs-site.xml and core-site.xml | ||
| enabled: false | ||
| configMapName: '' |
There was a problem hiding this comment.
can you add an example in hdfs/values.yaml? It will also be a bonus if you can add configmap template for HDFS in templates. That configmap will be deployed only if .values.hdfs.enabled is set to true.
There was a problem hiding this comment.
The configmap is looks like:
apiVersion: v1
kind: ConfigMap
data:
core-site.xml: |
<balabala something here>
hdfs-site.xml: |
<balabala something here>In fact, the configmap would be generate by every deployment of hdfs, which ought to contain the configurations that hdfs client needs when accessing hdfs. I did not supply a template file for that configmap, since when deploying druid with hdfs as deep storage, the configmap would have been in place.
|
|
@abhishekagarwal87 I don't think packing other based componments with druid is a good idea. What's wanted would be deployed by users, what's not would bother users. |
default root-directory same for postgres. The changes in configmap.yaml can be reverted. if a user wants to run with mysql enabled, he/she can run the helm install with values.yaml -f mysql/values.yaml |
Sorry for replaying late. I'm convinced. But I got a problem...I have deleted the forked repository when this MR is accepted... |
|
@oliverdding you can try to create a new fork and checkout this PR into a branch in that fork. |
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions. |
|
This pull request/issue has been closed due to lack of activity. If you think that |
Fixes #11421.
Key changed/added classes in this PR
helm chartThis PR has: