Skip to content
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

Add panic and pprof #15

Merged
merged 3 commits into from
Nov 6, 2024
Merged

Add panic and pprof #15

merged 3 commits into from
Nov 6, 2024

Conversation

sharkpc138
Copy link
Contributor

  • Add panic to restart the process if no pods or files are found
    • Occasionally, a pod list may fail to be retrieved from kubelet for certain reasons, and restarting the process resolves this issue
    • To handle this, induce a restart by triggering a panic when no pods or files are found
  • Add pprof for debugging purposes and remove unnecessary logs

@sharkpc138 sharkpc138 merged commit 152fade into main Nov 6, 2024
1 check passed
This was referenced Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant