Skip to content

Bug 1247735 - prehook (and posthook?) deployment pods are deleted after exit which makes logs unavailable to users (edit) #3952

@thoraxe

Description

@thoraxe

Currently, after a prehook or posthook pod completes, it is deleted. This means that a normal OpenShift user cannot view the logs because they would need system-level access to directly view the Docker logs.

This behavior wasn't present in beta4.

Some thoughts for solutions:

  1. flag in the hook itself "do not delete"
  2. flag in dc/rc template "keep x lifecycle pods"
  3. flag on project "keep x lifecycle pods"
  4. flag on master-config "keep x lifecycle pods"

This is related to #3544 in some ways.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions