-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Feature][plugin] Add k8s task in task plugin #9425
Conversation
I had approve and run the CI |
...i/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/AbstractK8sTaskExecutor.java
Show resolved
Hide resolved
.../src/main/java/org/apache/dolphinscheduler/plugin/task/api/parameters/k8s/K8sParameters.java
Outdated
Show resolved
Hide resolved
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.
Please add some test (unit test or e2e) and doc for this pr, thanks.
...i/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/AbstractK8sTaskExecutor.java
Outdated
Show resolved
Hide resolved
...i/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/AbstractK8sTaskExecutor.java
Outdated
Show resolved
Hide resolved
...task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/ParameterUtils.java
Outdated
Show resolved
Hide resolved
...task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/ParameterUtils.java
Outdated
Show resolved
Hide resolved
...eduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/TaskConstants.java
Show resolved
Hide resolved
...eduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/TaskConstants.java
Show resolved
Hide resolved
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/tasks/k8s.vue
Outdated
Show resolved
Hide resolved
this pr close #9310 |
@caishunfeng the keyword |
c696d0c
to
688390d
Compare
I had approve to run CI |
Codecov Report
@@ Coverage Diff @@
## dev #9425 +/- ##
============================================
- Coverage 40.85% 40.84% -0.02%
- Complexity 4630 4681 +51
============================================
Files 839 849 +10
Lines 34007 34353 +346
Branches 3770 3796 +26
============================================
+ Hits 13895 14030 +135
- Misses 18782 18983 +201
- Partials 1330 1340 +10
Continue to review full report at Codecov.
|
74de75e
to
007ae86
Compare
I had rerun the fail CI job. |
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-k8s.ts
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-k8s.ts
Outdated
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts
Outdated
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-namespace.ts
Outdated
Show resolved
Hide resolved
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.
The part of front-end LGTM
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, it's great feature, thans for your contribution.
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, waiting for CI
Kudos, SonarCloud Quality Gate passed! |
* [Feature][plugin] Add k8s task in task plugin * [Feature][plugin] fix dos and code problems * [Feature][plugin] refactor some code based on sonar * [Feature][UI] front-end for k8s task plugin * [Feature][plugin] delete some front files * [Feature][plugin] update document * Update docs/docs/zh/guide/task/k8s.md * Update docs/docs/en/guide/task/k8s.md * Update docs/docs/en/guide/task/k8s.md * Update docs/docs/en/guide/task/k8s.md * [Feature][UI] front-end change from review comments * [Feature][UI] replace get namespace list api * [Feature][plugin] change file name * Add kubernetes to zh task list Co-authored-by: hezhao2 <hezhao2@cisco.com> Co-authored-by: William Tong <weitong@cisco.com> Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>
* [Feature][plugin] Add k8s task in task plugin * [Feature][plugin] fix dos and code problems * [Feature][plugin] refactor some code based on sonar * [Feature][UI] front-end for k8s task plugin * [Feature][plugin] delete some front files * [Feature][plugin] update document * Update docs/docs/zh/guide/task/k8s.md * Update docs/docs/en/guide/task/k8s.md * Update docs/docs/en/guide/task/k8s.md * Update docs/docs/en/guide/task/k8s.md * [Feature][UI] front-end change from review comments * [Feature][UI] replace get namespace list api * [Feature][plugin] change file name * Add kubernetes to zh task list Co-authored-by: hezhao2 <hezhao2@cisco.com> Co-authored-by: William Tong <weitong@cisco.com> Co-authored-by: Jiajie Zhong <zhongjiajie955@gmail.com>
good job, thanks for your first contribution |
Purpose of the pull request
Introduce k8s task and support running k8s task on kubernetes
close #9310
Brief change log
Add k8s task module in task plugin
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: