Closed lahabana closed 4 months ago
add --SkipConsumerKonnectSync feature flag which bypasses consumers when syncing in Konnect
To be specific, the idea is to skip consumer credentials, not the consumers themselves.
We should also use the FeatureGates
functionality rather than a new flag as we have pre-wired usage metrics for feature gates
There was an offline discussion around only using FeatureGates
because they have metrics. Maybe we should just rework the telemetry lib to add telemetry for this.
No need to extend the telemetry package. It's already capable of sending "fixed payloads", which is done in KIC via: https://github.com/Kong/kubernetes-ingress-controller/blob/513db87cbf94ce66207f74365b502e8cde841357/internal/manager/telemetry/reports.go#L86-L92.
It's just a matter of serializing config or CLI flags/envs.
@mheap agrees that we don't need a FeatureGate
for this.
Is there an existing issue for this?
Does this enhancement require public documentation?
Problem Statement
Some users have a lot of consumers. This can make Konnect sync very slow and cause dataplane sync issues (xref: https://github.com/Kong/kubernetes-ingress-controller/issues/6188 ).
Users are ok to not sync consumers as a workaround until Konnect provide a better solution for this.
Proposed Solution
--SkipConsumerKonnectSync
feature flag which bypasses consumers when syncing in KonnectAdditional information
No response
Acceptance Criteria