martin 3 yıl önce
ebeveyn
işleme
ac839f8a26

+ 1 - 0
simulation-resource-scheduler/src/main/java/com/css/simulation/resource/scheduler/scheduler/TickScheduler.java

@@ -80,6 +80,7 @@ public class TickScheduler {
                 int i = StringUtil.countSubString(execute, projectId);
                 if (i == 0) {
                     LinuxUtil.execute("kubectl delete job project-" + projectId);
+                    log.info("TickScheduler-------checkProject 重新执行项目" + projectId);
                     String jobTemplateYamlPathTarget = "/opt/simulation-cloud/simulation-resource-scheduler/job-yaml/" + "project-" + projectId + ".yaml";
                     LinuxUtil.execute("kubectl apply -f " + jobTemplateYamlPathTarget);
                 }