-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Improvement][Helm] Make configmap of api/master/worker/alert configuration #16058
Conversation
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.
Good job, LGTM.
Then |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #16058 +/- ##
============================================
+ Coverage 40.70% 40.72% +0.01%
- Complexity 5245 5247 +2
============================================
Files 1385 1385
Lines 46109 46109
Branches 4923 4923
============================================
+ Hits 18768 18776 +8
+ Misses 25414 25407 -7
+ Partials 1927 1926 -1 ☔ View full report in Codecov by Sentry. |
Hi @pegasas , please fix CI. |
@@ -449,7 +449,17 @@ master: | |||
# requests: | |||
# memory: "2Gi" | |||
# cpu: "500m" | |||
|
|||
enableCustomizedConfig: false | |||
customizedConfig: { } |
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.
New configuration items need to be commented
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.
Add comments link to origin application.yaml path.
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.
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.
Sure. Done.
{{ $path }}: | | ||
{{ $config | indent 4 -}} | ||
{{- end -}} | ||
{{- end -}} |
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.
need a new line at the end of the file
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.
Done.
7b33d3e
to
9286014
Compare
Help check this? cc @Gallardot |
deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml
Outdated
Show resolved
Hide resolved
…ration Update deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml Co-authored-by: Gallardot <gallardot@apache.org>
Co-authored-by: Wenjun Ruan <wenjun@apache.org>
hi, team, would you like to review the PR when anytime you are available? Thanks |
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.
LGTM, this could avoid multiple application.yaml
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.
+1
Quality Gate passedIssues Measures |
1 similar comment
Quality Gate passedIssues Measures |
…ration (apache#16058) Update deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml * Update deploy/kubernetes/dolphinscheduler/values.yaml
* [Fix-16174] Incorrect cluster installation guide. (#16208) * [Fix][CI] fix the ci error of Values.datasource.profile (#16031) * [Improvement][Helm] Make configmap of api/master/worker/alert configuration (#16058) Update deploy/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml * Update deploy/kubernetes/dolphinscheduler/values.yaml * [helm] remove appversion from labels (#16066)
…ration
Purpose of the pull request
resolve: #16028
Brief change log
we found that it will bring multi application.yaml maintainence cost after involving new configmap into helm chart.
After discussion we decide to add a flag and default false,
then we can keep application.yaml in api/master/worker/alert clean.
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md