Skip to content

Commit

Permalink
Fix the issue of failing to retrieve logs for K8S tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
lianxinai committed Nov 12, 2024
1 parent 5e2abd7 commit ea85eaf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public void init() {
k8sTaskParameters.setNamespace(k8sConnectionParam.getNamespace());
k8sTaskParameters.setKubeConfig(kubeConfig);
k8sTaskExecutionContext.setConfigYaml(kubeConfig);
k8sTaskExecutionContext.setNamespace(k8sConnectionParam.getNamespace());
taskRequest.setK8sTaskExecutionContext(k8sTaskExecutionContext);
log.info("Initialize k8s task params:{}", JSONUtils.toPrettyJsonString(k8sTaskParameters));
}
Expand Down

0 comments on commit ea85eaf

Please sign in to comment.