Skip to content

PT-2488 - full refactor of a pt-k8s-debug-collector#1054

Open
BON4 wants to merge 41 commits into3.xfrom
PT-2448-pt-k8s-debug-collector-refactoring
Open

PT-2488 - full refactor of a pt-k8s-debug-collector#1054
BON4 wants to merge 41 commits into3.xfrom
PT-2448-pt-k8s-debug-collector-refactoring

Conversation

@BON4
Copy link
Contributor

@BON4 BON4 commented Jan 9, 2026

This refactor includes replacing all of the kubectl cli calls with golang sdk for k8s. Additionaly dumper now has new structure, new logger, tar file path controll, and multithreaded approach for downloading and exporting files form multiple pods.

Resulting Archive changes

  • added cluster-scoped folder for the resources that are cluster wide.

  • in the root there is a total log file, instead of just errors.

  • The contributed code is licensed under GPL v2.0

  • Contributor Licence Agreement (CLA) is signed

  • util/update-modules has been ran
    (/lib was not changed)

  • Documentation updated

  • Test suite update

Copy link
Collaborator

@svetasmirnova svetasmirnova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just started review and underlined few obvious things.

In addition to the comment I think adding tests for new added files, such as logs.go, paths.go, etc. makes sense.

@BON4 BON4 changed the title PT-2421 - full refactor of a pt-k8s-debug-collector PT-2488 - full refactor of a pt-k8s-debug-collector Jan 15, 2026
BON4 added 7 commits January 16, 2026 09:32
This refactor includes replacing all of the `kubectl` cli calls
with golang sdk for k8s. Additionaly dumper now has new structure,
new logger, tar file path controll, and multithreaded approach
for downloading and exporting files form multiple pods.
Copy link
Collaborator

@svetasmirnova svetasmirnova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add back TestPT_2169, replace resource: "pg", with resource: "pgv2",

Co-authored-by: Sveta Smirnova <svetasmirnova@users.noreply.github.com>
Copy link
Contributor

@artemgavrilov artemgavrilov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BON4 Please next time write some reply to comments. Even simple done will simplify re-review. With silent resolving reviewer has to do extra work to check if comment was addressed or you don't agree and wouldn't change or something else...

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.

7 participants