Hi team!
We are using Flipt in our project and it works great, but we recently ran into an issue.
When multiple Flipt instances are deployed in Kubernetes, only one instance can correctly evaluate the variant. The other instances will return
{
"match": true,
"segmentKeys": [
"everyone"
],
"reason": "MATCH_EVALUATION_REASON",
"variantKey": "",
"variantAttachment": "",
"requestId": "53b2c74b-71ed-43a7-b517-98703126513f",
"requestDurationMillis": 1.922781,
"timestamp": "2024-11-07T02:29:32.462681869Z",
"flagKey": "mobile_core_config"
}
The variantKey
and variantAttachment
are empty.
We are deploying Flipt on Kubernetes using a Helm chart, and we have enabled autoscaling.
Additionally, we have set up PostgreSQL and Redis for Flipt.
We are also configuring Git as the source for the feature flag state.
The Flipt version is v1.51.0
This is the log that can evaluate the variant, and I noticed that there is a matched distribution
This is the log that can not evaluate the variant, with no distributions for rule
When we scale it down to one instance, it can correctly evaluate the variant.
This is the rule and variants for the flag
I would appreciate your assistance. Thank you!