Skip to content

PT-2330 - Add kubectl describe pod collection to pt-k8s-debug-collector - #1154

Open
eslavyansky wants to merge 1 commit into
percona:3.xfrom
eslavyansky:PT-2330-describe-pod
Open

PT-2330 - Add kubectl describe pod collection to pt-k8s-debug-collector#1154
eslavyansky wants to merge 1 commit into
percona:3.xfrom
eslavyansky:PT-2330-describe-pod

Conversation

@eslavyansky

Copy link
Copy Markdown
Contributor

Collect kubectl describe pod output into //describe.txt for every pod in any phase, using k8s.io/kubectl/pkg/describe via the existing client-go clientSet. Includes per-container State/Last State/ Reason/Exit Code and pod Events, which are useful for debugging crashed or restarting pods. Adds a unit test (fake clientset) and an integration assertion

  • The contributed code is licensed under GPL v2.0
  • Contributor Licence Agreement (CLA) is signed
  • util/update-modules has been ran
  • Documentation updated
  • Test suite update

Collect `kubectl describe pod` output into <namespace>/<pod>/describe.txt
for every pod in any phase, using k8s.io/kubectl/pkg/describe via the
existing client-go clientSet. Includes per-container State/Last State/
Reason/Exit Code and pod Events, which are useful for debugging crashed
or restarting pods. Adds a unit test (fake clientset) and an integration
assertion, and documents the new artifact in the README.
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