Skip to content

[Bug] [dolphinscheduler-api-->K8sNamespaceController-->createK8sNamespace] create namespace, if not exist on k8s,will don't create #15491

@hugh018

Description

@hugh018

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

k8s操作报错[namespace dev_now does not exist in k8s cluster, please create namespace in k8s cluster first].
method createK8sNamespace notes: create namespace,if not exist on k8s,will create,if exist only register in db,but this method don't create on k8s when not exist on k8s.

What you expected to happen

create namespace,if not exist on k8s,will create on k8s,if exist only register in db

How to reproduce

ui create namespace dev-xx when not exist on k8s

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions