Files
kubernetes.core/plugins/modules
Joshua Eason 5662fa777c Adding previous container log support (#436)
Adding previous container log support

Signed-off-by: Joshua Eason josh.eason@anchore.com
SUMMARY
Adds support for the previous parameter in kubectl logs. This allows for the retrieval of the previously terminated containers logs which is useful for troubleshooting.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
k8s_log
ADDITIONAL INFORMATION
Adds the previous parameter (bool) to k8s_log module. This matches the documentation for kubectl logs --previous parameter. This parameter allows for retrieving the previously terminated containers logs.
Output of the module is identical with the exception being the logs returned are from the previously terminated container.

Reviewed-by: Mike Graves <mgraves@redhat.com>
Reviewed-by: Abhijeet Kasurde <None>
Reviewed-by: Joshua Eason <None>
2022-04-26 15:31:44 +00:00
..
2022-03-30 15:02:46 +00:00
2022-04-26 11:54:37 +00:00
2022-02-22 12:01:19 +00:00
2022-03-30 15:02:46 +00:00
2022-03-30 15:02:46 +00:00
2022-03-30 15:02:46 +00:00
2022-03-30 15:02:46 +00:00