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

[Policy Assistant] Avoid multiple calls to API Server to get all the pods in the namespace. #236

Open
gabrielggg opened this issue Jun 18, 2024 · 1 comment
Assignees

Comments

@gabrielggg
Copy link
Contributor

          Just noting that there could be lots of extra calls to API Server in some scenarios. Ideally, we'd get all pods in the namespace only once.

Could you file a GitHub issue to optimize this in another PR?

Originally posted by @huntergregory in #227 (comment)

@gabrielggg gabrielggg changed the title Extra calls to API Server in some scenarios. Ideally, we'd get all pods in the namespace only once. [Policy Assistant] Avoid multiple calls to API Server for getting all pods in the namespace. Jun 18, 2024
@gabrielggg gabrielggg changed the title [Policy Assistant] Avoid multiple calls to API Server for getting all pods in the namespace. [Policy Assistant] Avoid multiple calls to API Server to get all the pods in the namespace. Jun 18, 2024
@gabrielggg
Copy link
Contributor Author

/assign

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