New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add pod level logs API #106698
Comments
@huoqifeng: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig node |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What would you like to be added?
Kubernetes and CRI well defined the logs for containers, while VM based Pod are common used today as alternative of
pause
container as a Sandbox for more strict isolation, like Kata Containers, Containerd is also proposing a Sandbox API, It looks reasonable to enhance Sandbox API in Kubernetes also to include the Pod levels logs.The use case is like this.
pause
container for runc, there might no log at allVM
for VM based Pod approach, like Kata ContainerSo, end user can retrieve the Pod logs via command like below:
Where
-s
indicates to retrieve logs of the Pod, vs the-c
to indicate the logs from a specific container.This KEP has been added to track and discuss with sig.
Why is this needed?
I want to get the Pods logs for a
VM
based Pod approach for audit, logging and debugging.The text was updated successfully, but these errors were encountered: