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

Couple k8s resource lifespan to pipelines #1647

Open
k15r opened this issue Dec 2, 2024 · 0 comments
Open

Couple k8s resource lifespan to pipelines #1647

k15r opened this issue Dec 2, 2024 · 0 comments

Comments

@k15r
Copy link
Contributor

k15r commented Dec 2, 2024

Description

In the current implementation of the manager all resources related to gateways are created on demand with the creation of pipelines.
The lifetime of these resources is not only connected to the existence of the pipeline but on their 'reconcilability'.
To simplify the code of our reconcilers we should bind the lifecycle of those resources to the lifecycle of the pipelines.

Details

  • use the owner reference mechanism to automatically delete all gateway resources when the last pipeline has been deleted
  • introduce a NOP pipeline-configuration for the case that (metric|trace|log)-pipelines exist, but none of them can be converted into a proper Otel configuration
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