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 conversion from a Kubernetes store snapshot to a graph #5929

Closed
3 tasks done
Tracked by #5854
czeslavo opened this issue Apr 25, 2024 · 1 comment
Closed
3 tasks done
Tracked by #5854

Implement conversion from a Kubernetes store snapshot to a graph #5929

czeslavo opened this issue Apr 25, 2024 · 1 comment
Assignees
Labels
priority/high release/required it is required that this be resolved before releasing
Milestone

Comments

@czeslavo
Copy link
Contributor

czeslavo commented Apr 25, 2024

Implement a function/stuct converting a Kubernetes store snapshot into its graph representation. The graph should use Kubernetes objects as its vertices and the edges between them should define dependencies (Ingress depending on a Service, Plugin depending on an Ingress/Service/Consumer, etc.).

The graph will be used to determine what objects need to removed/replaced during the fallback configuration build process - traversing the graph should allow identifying an invalid object's dependants and removing/replacing them along with it.

Blocked by #5928.

Tasks

@czeslavo
Copy link
Contributor Author

I've implemented dependency resolving for Gateway API and Ingress types - Kong CRDs are left to be done: https://github.com/Kong/kubernetes-ingress-controller/blob/main/internal/dataplane/fallback/graph_dependencies_kong.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/high release/required it is required that this be resolved before releasing
Projects
None yet
Development

No branches or pull requests

3 participants