Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Support kubectl logs --previous flag #181

Open
@soenkeliebau

Description

@soenkeliebau

Kubectl logs has a flag which allows retrieving the logs for an earlier iteration of a pod.

We should also support this and retrieve logs from the previous systemd service that was run for the pod.

Question: would this work across pod boundaries? Not sure when a new invocation id is assigned, what happens when the service crashes and is restarted by systemd, vs the operator deletes the pod and the service is explicitly restarted due to this event?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions