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

Use a k8s cached client for the branch planner implementation #793

Open
2 tasks
luizbafilho opened this issue Jul 21, 2023 · 1 comment
Open
2 tasks

Use a k8s cached client for the branch planner implementation #793

luizbafilho opened this issue Jul 21, 2023 · 1 comment

Comments

@luizbafilho
Copy link
Contributor

luizbafilho commented Jul 21, 2023

We should use a Kubernetes cached client to optimize terraform objects query since that could potentially put a lot of pressure on k8s API.

This a follow-up issue of #779 derived by Michael comment: #790 (comment)


User Story

As a Terraform Controller user,
I'd like to use a Kubernetes cached client for Terraform objects query in the branch planner implementation,
so that it reduces the pressure on the k8s API and optimizes performance.

Acceptance Criteria

  • Implement a Kubernetes cached client for querying Terraform objects
  • Verify reduced pressure on the k8s API
@chanwit chanwit changed the title Use a k8s cached client Use a k8s cached client for the branch planner implementation Jul 24, 2023
@squaremo
Copy link
Contributor

squaremo commented Nov 2, 2023

Rewriting as a (controller-runtime) controller with a manager will solve this by default (see #722 for discussion).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants