rickchengx commented on PR #12358:
URL: 
https://github.com/apache/dolphinscheduler/pull/12358#issuecomment-1284094098

   
   > hi @caishunfeng @rickchengx i also found out this bug and fixed it, need 
to point out that this pr's solution won't work because `cluster.getConfig();` 
result is not a valid kubeconfig yaml(it's the json string stored in that 
table), you have to use this: 
`ClusterConfUtils.getK8sConfig(cluster.getConfig());`
   > 
   > the current change only succeeds to submit the task, but the kubeconfig is 
not valid so the ds-worker won't submit the job to k8s cluster successfully.
   > 
   > @rickchengx maybe you can submit a new pr for the change.
   
   Hi, @danielfree , thanks for the comment. I'll look into it.
   
   
   


-- 
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