Skip to content

[Feature-8144][API] Task can run on kubernetes - Namespace#8154

Closed
qianli2022 wants to merge 2 commits into
apache:devfrom
qianli2022:Feature-8144
Closed

[Feature-8144][API] Task can run on kubernetes - Namespace#8154
qianli2022 wants to merge 2 commits into
apache:devfrom
qianli2022:Feature-8144

Conversation

@qianli2022
Copy link
Copy Markdown
Contributor

Purpose of the pull request

Add the k8s client and support the management of namespace. As the first development step of run k8s job.

Brief change log

    new file:   dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/K8sNamespaceController.java
    modified:   dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java
    new file:   dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/K8sNameSpaceService.java
    new file:   dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/K8sNameSpaceServiceImpl.java
    new file:   dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/controller/K8sNamespaceControllerTest.java
    modified:   dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java
    new file:   dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/K8s.java
    new file:   dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/K8sNamespace.java
    new file:   dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/K8sMapper.java
    new file:   dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/K8sNamespaceMapper.java
    new file:   dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/K8sNamespaceMapper.xml
    modified:   dolphinscheduler-dao/src/main/resources/sql/create/release-1.0.0_schema/mysql/dolphinscheduler_ddl.sql
    modified:   dolphinscheduler-dao/src/main/resources/sql/create/release-1.2.0_schema/postgresql/dolphinscheduler_ddl.sql
    modified:   dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql
    modified:   dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql
    modified:   dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql
    modified:   dolphinscheduler-service/pom.xml
    new file:   dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/k8s/K8sManager.java
    new file:   dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/_source/createNamespace.vue
    new file:   dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/_source/list.vue
    new file:   dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/index.vue
    new file:   dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/type/index.js
    new file:   dolphinscheduler-ui/src/js/conf/home/pages/security/pages/namespace/type/namespace.types.js
    modified:   dolphinscheduler-ui/src/js/conf/home/router/module/security.js
    modified:   dolphinscheduler-ui/src/js/conf/home/store/security/actions.js
    modified:   dolphinscheduler-ui/src/js/module/components/secondaryMenu/_source/menu.js
    modified:   dolphinscheduler-ui/src/js/module/i18n/index.js
    modified:   dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js
    modified:   dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js
    modified:   pom.xml

Verify this pull request

This change added tests and can be verified as follows:
In the production line environment test

#8144

@qianli2022 qianli2022 closed this Jan 24, 2022
@qianli2022 qianli2022 deleted the Feature-8144 branch January 28, 2022 13:25
@qianli2022 qianli2022 restored the Feature-8144 branch January 28, 2022 13:28
@qianli2022 qianli2022 deleted the Feature-8144 branch January 28, 2022 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant