You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flagd supports various sync options include watching a local file, HTTP polling, and subscribing to the Kubernetes API. In most configurations, the Kubernetes API is the only option that currently supports near real-time flag configuration updates. This introduces some challenges in Kubernetes clusters that do not allow direct access to the API and environments that are not using Kubernetes at all. A more flexible sync option that supports real-time flag updates would help overcome these challenges.
Requirements
Flag changes are reflected in near real-time in flagd
The new real-time flagd sync does not rely on the Kubernetes API
@AlexsJones sure, we can start there. This was meant to be more of an epic level problem statement. Unfortunately, GitHub requires all issues to be associated with a repo even if they're higher level.
My initial thought is that we could add a gRPC sync that would theoretically solve all the problems listed above but I'm open to suggestions. Starting with an OFEP would be a good place to start.
I'm really eager to be able to test this.
Making flagd fed from grpc streams is imo one of the best move that could be done (great flexibility + ~ instant updates)
Reacted by Michael Beemer, Todd Baert, Skye Gill and Kavindu Dodanduwa
I'm really eager to be able to test this. Making flagd fed from grpc streams is imo one of the best move that could be done (great flexibility + ~ instant updates)
Sorry for delay, from what I see it's very promising, approved ! I added a minor comment though.
Also, do you think it could be useful to link in the docs some simple gRPC server app example (go + proto) that feeds flagd via gRPC sync ? It imo would ease devs ramp us on such sync usage.
Any plans to extend this grpc compatibility to the flagd operator? I mean by this being able to configure flagd sidecars to be fed by a grpc application ?
I reduced the scope of this issue so it could be closed. There's a dedicated project board that can track the progress of using gRCP in the OpenFeature Operator.
Activity
beeme1mr commentedon Jan 9, 2023
This solution may resolve open-feature/open-feature-operator#250
AlexsJones commentedon Jan 10, 2023
Perhaps this should be an OFEP?
beeme1mr commentedon Jan 10, 2023
@AlexsJones sure, we can start there. This was meant to be more of an epic level problem statement. Unfortunately, GitHub requires all issues to be associated with a repo even if they're higher level.
My initial thought is that we could add a gRPC sync that would theoretically solve all the problems listed above but I'm open to suggestions. Starting with an OFEP would be a good place to start.
Kavindu-Dodan commentedon Jan 13, 2023
I will start a POC with gRPC and see how this fits to flagd. Throught POC I will see,
Kavindu-Dodan commentedon Jan 18, 2023
General refactoring of flag update providers (isync impls) - #291
Kavindu-Dodan commentedon Jan 25, 2023
OFEP is ready [1] along with POC [2]
[1] - open-feature/ofep#45
[2] - #297
refactor: introduce add, update and delete operations to sync provide…
ekkinox commentedon Feb 2, 2023
I'm really eager to be able to test this.
Making flagd fed from grpc streams is imo one of the best move that could be done (great flexibility + ~ instant updates)
Kavindu-Dodan commentedon Feb 3, 2023
OFEP is approved (open-feature/ofep#45) & POC is working (#297)
I will open the first PR once schema changes are approved and grpc dependencies are deployed to buf (open-feature/flagd-schemas#78)
toddbaert commentedon Feb 6, 2023
This is related to this OFO issue.
chore: add @Kavindu-Dodan to CODEOWNERS (#377)
beeme1mr commentedon Feb 8, 2023
Hey @ekkinox, @Kavindu-Dodan's PR is for review. If you have a moment, you feedback on the PR would be appreciated.
ekkinox commentedon Feb 11, 2023
Sorry for delay, from what I see it's very promising, approved ! I added a minor comment though.
Also, do you think it could be useful to link in the docs some simple gRPC server app example (go + proto) that feeds flagd via gRPC sync ? It imo would ease devs ramp us on such sync usage.
In any cases, thx for this !
ekkinox commentedon Feb 11, 2023
Any plans to extend this grpc compatibility to the flagd operator? I mean by this being able to configure flagd sidecars to be fed by a grpc application ?
beeme1mr commentedon Feb 13, 2023
Hey @ekkinox, that will be the next step. I've updated the issue description to better reflect goal. Does this align with what you were hoping for?
feat: introduce grpc sync for flagd (#297)
beeme1mr commentedon Feb 24, 2023
I reduced the scope of this issue so it could be closed. There's a dedicated project board that can track the progress of using gRCP in the OpenFeature Operator.
fix(deps): update module google.golang.org/protobuf to v1.31.0 (open-…