I implemented some feature-flag logic following Baeldungs guide, and it works great as long as the service is isolated (local, or 1 pod in the cloud) when I update the feature-flag via the controller endpoint.
The issue is, I deploy 2 pods for the microservice since it's heavy on usage. How can I make sure both pods are updated when I update the feature-flag programmatically?
Am I supposed to use Kubernetes feature gates? I've tried researching it, but have been hitting dead ends.
TIA!