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

Support kubectl logs --previous flag #181

Open
soenkeliebau opened this issue May 27, 2021 · 1 comment
Open

Support kubectl logs --previous flag #181

soenkeliebau opened this issue May 27, 2021 · 1 comment

Comments

@soenkeliebau
Copy link
Member

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?

@lfrancke
Copy link
Member

lfrancke commented Jun 9, 2021

This is waiting for a new Krustlet release (not in 0.7.0).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants