Skip to content

Commit

Permalink
Fixed to remove k8s pod on finished (#1696)
Browse files Browse the repository at this point in the history
  • Loading branch information
hnarimiya committed Jul 5, 2022
1 parent 81367ae commit 1f26387
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -275,6 +275,7 @@ CommandStatus getCommandStatusFromKubernetes(final CommandContext context,
// Download output config archive
final InputStream in = outConfigStorage.getContentInputStream(outputArchiveKey);
ProjectArchives.extractTarArchive(context.getLocalProjectPath(), in); // runtime exception
client.deletePod(pod.getName());
}
else if (defaultPodTTL.isPresent() && isRunningLongerThanTTL(previousStatusJson)) {
TaskRequest request = context.getTaskRequest();
Expand Down

0 comments on commit 1f26387

Please sign in to comment.