-
Notifications
You must be signed in to change notification settings - Fork 914
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
[K8S][HELM] Implement new configuration approach #6521
base: master
Are you sure you want to change the base?
[K8S][HELM] Implement new configuration approach #6521
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6521 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 687 687
Lines 42442 42442
Branches 5793 5793
======================================
Misses 42442 42442 ☔ View full report in Codecov by Sentry. |
That sounds amazing. Sorry a little busy these days, will take a detailed look later (hopefully next week) |
Also cc @zwangsheng and @zhaohehuhu who also deploy Kyuubi on K8s using Helm chart. |
671c64a
to
513cb9a
Compare
513cb9a
to
0cfbed9
Compare
0cfbed9
to
14829f3
Compare
🔍 Description
Issue References 🔗
This pull request changes Helm chart configuration approach as discussed in #6123
Describe Your Solution 🔧
Suggested implementation makes chart configuration more general and more flexible. It allows to configure Kyuubi (and its engines) by setting configuration file contents to chart properties or by providing configuration files through existing ConfigMaps and Secrets. Also users are not limited by predefined number of files and can put any files to configuration directories.
Types of changes 🔖
Test Plan 🧪
1. Test suite "Kyuubi configuration"
Property file
values-kyuubi-files.yaml
ConfigMap
kyuubi-configs
fromconfigmap-kyuubi-configs.yaml
Rendered templates are correct
Configuration files are in place
$ kubectl create -f configmap-kyuubi-configs.yaml $ helm install kyuubi charts/kyuubi -f values-kyuubi-files.yaml $ kubectl exec kyuubi-0 -- ls conf kyuubi-custom.properties kyuubi-env.sh kyuubi-test.properties
2. Test suite "Spark configuration"
Property file
values-spark-files.yaml
ConfigMap
spark-configs
fromconfigmap-spark-configs.yaml
Rendered templates are correct
Configuration files are in place
$ kubectl create -f configmap-spark-configs.yaml $ helm install kyuubi charts/kyuubi -f values-spark-files.yaml $ kubectl exec kyuubi-0 -- ls ../spark/conf spark-custom.properties spark-env.sh spark-test.properties
Property file
values-kyuubi-defaults.yaml
ConfigMap
kyuubi-defaults-config
fromconfigmap-kyuubi-defaults.yaml
Rendered templates are correct
Content of
kyuubi-defaults.conf
comes from ConfigMapChecklist 📝
Be nice. Be informative.