ChaoquanTao commented on code in PR #16652:
URL:
https://github.com/apache/dolphinscheduler/pull/16652#discussion_r1774269857
##########
dolphinscheduler-task-plugin/dolphinscheduler-task-api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/utils/ProcessUtils.java:
##########
@@ -243,4 +243,10 @@ public static LogWatch
getPodLogWatcher(K8sTaskExecutionContext k8sTaskExecution
.getPodLogWatcher(
new
KubernetesApplicationManagerContext(k8sTaskExecutionContext, taskAppId,
containerName));
}
+
+ public static void removeK8sClientCache(String taskAppId) {
+ KubernetesApplicationManager applicationManager =
+ (KubernetesApplicationManager)
applicationManagerMap.get(ResourceManagerType.KUBERNETES);
+ applicationManager.removeCache(taskAppId);
+ }
Review Comment:
Done
--
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]