Added the Pod_log.py file in example#2200
Added the Pod_log.py file in example#2200k8s-ci-robot merged 3 commits intokubernetes-client:masterfrom
Conversation
The Pod_log.py used to print the all the logs generated by pods.
|
Welcome @Harshu1441! |
|
/assign |
|
/remove-lifecycle stale |
4 similar comments
|
/remove-lifecycle stale |
|
/remove-lifecycle stale |
|
/remove-lifecycle stale |
|
/remove-lifecycle stale |
|
remove-lifecycle stale |
|
/remove-lifecycle stale |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
/remove-lifecycle stale |
|
/remove-lifecycle stale |
examples/pod_logs.py
Outdated
| @@ -0,0 +1,66 @@ | |||
| # Copyright s/2019/2025/ The Kubernetes Authors. | |||
There was a problem hiding this comment.
it should be just 2025, not s/2019/2025/
There was a problem hiding this comment.
Done please check and let me know.
|
/remove-lifecycle stale |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Harshu1441, yliaog The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The Pod_log.py used to print the all the logs generated by pods.
What type of PR is this?
/kind feature
What this PR does / why we need it:
With this PR i've added the pod_log.py in example to get all the pod logs
and we can adjust the No. of output line by just adjusting the tail_lines parameter.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: