|
|
@ -48,8 +48,9 @@ public abstract class AbstractK8sTask extends AbstractRemoteTask { |
|
|
|
setExitStatusCode(response.getExitStatusCode()); |
|
|
|
setExitStatusCode(response.getExitStatusCode()); |
|
|
|
setAppIds(response.getAppIds()); |
|
|
|
setAppIds(response.getAppIds()); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
log.error("k8s task submit failed with error", e); |
|
|
|
exitStatusCode = -1; |
|
|
|
exitStatusCode = -1; |
|
|
|
throw new TaskException("k8s process failure", e); |
|
|
|
throw new TaskException("Execute k8s task error", e); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|