Add Kubernetes configmap reload to all components#11730
Merged
kezhenxu94 merged 1 commit intodevfrom Sep 2, 2022
Merged
Conversation
Member
Author
|
All works as before, when users want to change the configuration, just create a patch config like this, and it's all done. cat <<EOF | kubectl apply -f -
apiVersion: v1
data:
application.yml: |-
worker:
exec-threads: 30
kind: ConfigMap
metadata:
name: standalone-server
namespace: default
EOF |
9bc4217 to
f88feec
Compare
Codecov Report
@@ Coverage Diff @@
## dev #11730 +/- ##
============================================
- Coverage 39.73% 39.63% -0.10%
+ Complexity 4709 4689 -20
============================================
Files 1008 1008
Lines 37878 37881 +3
Branches 4238 4238
============================================
- Hits 15049 15016 -33
- Misses 21218 21259 +41
+ Partials 1611 1606 -5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
EricGao888
previously approved these changes
Sep 2, 2022
EricGao888
reviewed
Sep 2, 2022
dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/bootstrap.yaml
Show resolved
Hide resolved
f88feec to
6402fc4
Compare
EricGao888
approved these changes
Sep 2, 2022
|
SonarCloud Quality Gate failed. |
1 task
fengjian1129
pushed a commit
to fengjian1129/dolphinscheduler
that referenced
this pull request
Sep 13, 2022
fengjian1129
pushed a commit
to fengjian1129/dolphinscheduler
that referenced
this pull request
Sep 29, 2022
xdu-chenrj
pushed a commit
to xdu-chenrj/dolphinscheduler
that referenced
this pull request
Oct 13, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








As we can see
Detected change in config mapsandReloading using strategy: REFRESH, and from the logworkerExecThreadCount":10toworkerExecThreadCount":20when I modify the config map to change theworkerExecThreadCountfrom10to20.Now all these work out of box in Kubernetes.