Skip to content

[Improvement][UI] Task name of copied task should be joined with '-' rather than '_' #17045

Open
@ChaoquanTao

Description

@ChaoquanTao

Search before asking

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

Description

A new task name will be created when copy task in dag canvas,, with format like ${origin task name}_${uuid}. But it doesn't work well for k8s task, because underscore is not allowed in k8s job name, which will cause an exception like:

Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://10.1.8.233/apis/batch/v1/namespaces/ds/jobs. Message: Job.batch "tcq-dynamic-parse_10s-9171976" is invalid: [metadata.name: Invalid value: "tcq-dynamic-parse_10s-9171976"

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

UIui and front end relatedimprovementmake more easy to user or prompt friendly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions