chore: Refactor LogPipeline, MetricPipeline, and TracePipeline Controllers #1644
Labels
area/logs
LogPipeline
area/metrics
MetricPipeline
area/traces
TracePipeline
kind/chore
Categorizes issue or PR as related to a chore.
Description
The 3 controllers shall be refactored, such that when creating a reconciler, all the variables/constants describing parameters that will not externally change (e.g. dynamic/base CPU, Memory limits) won't have to be passed anymore.
The configurations of the respective gateways and agents have to be refactored accordingly. Such that this pattern is not present in our code anymore.
Reasons
priorityClassName
these attributes are not externally configurable anymore (since the corresponding feature flags have been removed)Attachments
Example for LogPipeline:
https://github.com/kyma-project/telemetry-manager/blob/main/controllers/telemetry/logpipeline_controller.go#L69-L87
https://github.com/kyma-project/telemetry-manager/blob/main/controllers/telemetry/logpipeline_controller.go#L175-L192
https://github.com/kyma-project/telemetry-manager/blob/main/controllers/telemetry/logpipeline_controller.go#L224-L242
Release Notes
The text was updated successfully, but these errors were encountered: