ChaoquanTao opened a new issue, #17045:
URL: https://github.com/apache/dolphinscheduler/issues/17045

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) 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?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to