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

Improve webhook Pod Readiness Gate logic using metadata #631

Open
erikfuller opened this issue May 3, 2024 · 0 comments
Open

Improve webhook Pod Readiness Gate logic using metadata #631

erikfuller opened this issue May 3, 2024 · 0 comments

Comments

@erikfuller
Copy link
Contributor

This PR #629 adds logic to determine whether or not a pod requires the addition of a Lattice readiness gate. The logic is not as performant as it could be, as it requires looping through all services in the pod's namespace, then through all routes to see if they reference the service.

Instead, we may want to investigate options for adding metadata directly to the objects (e.g. via annotation or finalizer on a service) or adding new CRDs for tracking these relationships, similar to the TargetGroupBindingLIst used by the load balancer controller.

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