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

Separate dumped k8s resources info by resource kind #634

Open
1 of 2 tasks
randmonkey opened this issue Apr 24, 2023 · 0 comments
Open
1 of 2 tasks

Separate dumped k8s resources info by resource kind #634

randmonkey opened this issue Apr 24, 2023 · 0 comments
Labels
area/feature New feature or request area/maintenance

Comments

@randmonkey
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Problem Statement

The dumped k8s resources and events (results of kubectl get all and kubectl describe all) are put into a single file. The file is usually very large and hard to find wanted object. Since the result is generated by calling kubectl get <resourceKind> --all-namespaces -o yaml for each kind of resource, we could put the results into one file per resource kind to reduce the size of a single file and make each file clearer.

Proposed Solution

  • Output to a single file when we call kubectl get <resourceKind> --all-namespaces -o yaml
  • Name the file to the resource kind, and put the files to a directory kubectl_get_all
  • Do the similar thing to kubectl describe all

Additional information

No response

Acceptance Criteria

  • Results of kubectl get all and kubectl describe all are separated to a single file per resource kind
@shaneutt shaneutt added area/feature New feature or request area/maintenance labels Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/feature New feature or request area/maintenance
Projects
None yet
Development

No branches or pull requests

2 participants