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

Display summary data per deployment #697

Merged
merged 1 commit into from
Apr 20, 2023
Merged

Conversation

vishnusomank
Copy link
Contributor

@vishnusomank vishnusomank commented Mar 23, 2023

  • Modified the observability to include Summary data per deployment
  • Added deployment name to struct PodInfo
  • Modified codebase to get details of replicasets and statefulset along with deployments
  • Modified codebase to include deployment name as part of PodInfo

Fixes: #696

Related PR's

  1. kubearmor-client #299

@Vyom-Yadav
Copy link
Contributor

@vishnusomank Can you share the output as well?

Also, the summary data may vary per pod if someone exec'd into that particular pod, is that something we should consider?

@vishnusomank
Copy link
Contributor Author

@vishnusomank Can you share the output as well?

Also, the summary data may vary per pod if someone exec'd into that particular pod, is that something we should consider?

@Vyom-Yadav there is no change in the codebase we are only sending the data arranged by deployment name instead of pod name. So internally the storage and function calls are almost the same.

You can refer this PR for output kubearmor/kubearmor-client#299

@Ankurk99 Ankurk99 self-requested a review April 10, 2023 06:32
Copy link
Contributor

@Ankurk99 Ankurk99 left a comment

Choose a reason for hiding this comment

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

Please find comments inline

src/cluster/k8sClientHandler.go Outdated Show resolved Hide resolved
src/cluster/k8sClientHandler.go Outdated Show resolved Hide resolved
Copy link
Contributor

@seswarrajan seswarrajan left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Ankurk99 Ankurk99 left a comment

Choose a reason for hiding this comment

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

Please handle the go-lint warnings, rest LGTM

- Modified the observability to include Summary data per deployment
- Added deployment name to struct PodInfo
- Modified codebase to get details of replicasets and statefulset along with deployments
- Modified codebase to include deployment name as part of PodInfo

Signed-off-by: Vishnu Soman <vishnu@accuknox.com>
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.

Display summary data per deployment
4 participants