Skip to content

Commit

Permalink
Terminate all containers within pod after main container completes (#…
Browse files Browse the repository at this point in the history
…1423)

Resolves #1422
  • Loading branch information
SeriousSem authored and jessesuen committed Jun 18, 2019
1 parent 1607d74 commit d2f7162
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions workflow/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1056,10 +1056,6 @@ func (we *WorkflowExecutor) monitorDeadline(ctx context.Context, annotationsUpda

// KillSidecars kills any sidecars to the main container
func (we *WorkflowExecutor) KillSidecars() error {
if len(we.Template.Sidecars) == 0 {
log.Infof("No sidecars")
return nil
}
log.Infof("Killing sidecars")
pod, err := we.getPod()
if err != nil {
Expand Down

0 comments on commit d2f7162

Please sign in to comment.