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

Implement npv cover to show coverage of a CNP/CCNP #22

Open
4 tasks
yokaze opened this issue Dec 13, 2024 · 0 comments
Open
4 tasks

Implement npv cover to show coverage of a CNP/CCNP #22

yokaze opened this issue Dec 13, 2024 · 0 comments

Comments

@yokaze
Copy link
Contributor

yokaze commented Dec 13, 2024

Motivation

Currently, it takes some effort to list all the pods covered-by or excluded-by a CNP/CCNP.
Especially, it is beneficial if we can list the pods marked privileged and excluded by a CCNP.

How

Implement the following commands:

  • npv cover ccnp <CCNP Name>
  • npv cover cnp -n <Namespace> <CNP Name>
  • --except flag to show all the endpoints outside of the coverage

NOTE: This command needs to query all the endpoints in a cluster, so performance is a concern.

Checklist

  • Finish implementation of the issue
  • Test all functions
  • Have enough logs to trace activities
  • Notify developers of necessary actions
@yokaze yokaze changed the title Implement a command to show coverage of a CNP/CCNP Implement npv cover command to show coverage of a CNP/CCNP Dec 25, 2024
@yokaze yokaze changed the title Implement npv cover command to show coverage of a CNP/CCNP Implement npv cover to show coverage of a CNP/CCNP Dec 25, 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

No branches or pull requests

1 participant