Open arielb135 opened 5 years ago
Hello, i'm trying to write a controller that watches a custom resource, that in turn will create objects in rabbitMQ.
I wanted to know, if the rabbitMQ server is restarted, i would like to trigger a sync command now, instead of waiting to a resync period.
Short resync period of all object seems a bit overkill.. any way to achieve it?
Right now the only way i can think of is to save all objects locally in the controller, then expose a "resync" method.
I think if you kill the pod (metacontroller-0) that is run by the statefulset, when it starts back up, it should trigger a resync?
It does, but its ugly ;)
Hello, i'm trying to write a controller that watches a custom resource, that in turn will create objects in rabbitMQ.
I wanted to know, if the rabbitMQ server is restarted, i would like to trigger a sync command now, instead of waiting to a resync period.
Short resync period of all object seems a bit overkill.. any way to achieve it?
Right now the only way i can think of is to save all objects locally in the controller, then expose a "resync" method.