Skip to content

Investigate if kubernetes postStart hook can be used for Devfile postStart event #655

@sleshchenko

Description

@sleshchenko

Investigate if Kubernetes post start can be used for Devfile postStart event (see the corresponding issue #629)

The https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/ says:

This hook is executed immediately after a container is created.

but it's not clear if that command is restarted when container is restarted (OOMKilled or the main process just killed/ended).

Then what to do from DevWorkspace perspective if postStart event finished/killed/crashed/exited with non 0? Can Kubernetes provide DWO such an information with Pod status?

Metadata

Metadata

Assignees

Labels

sprint/currentIs assigned to issues which are planned to work on in the current team sprint

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions