-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Added the Pod_log.py file in example #2200
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be just 2025, not s/2019/2025/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Needs 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.: