Though we check for pod readiness and IP to be assigned for a pod IP before marking, Some attempts still result in connection refused while the controller tries to talk to Dragonfly.
Example
2023-04-18T10:39:00Z ERROR could not check and configure replication {"controller": "pod", "controllerGroup": "", "controllerKind": "Pod", "Pod": {"name":"dragonfly-sample-1","namespace":"default"}, "namespace": "default", "name": "dragonfly-sample-1", "reconcileID": "3951660b-92e6-4721-af1b-6e7b5f561992", "error": "Error running SLAVE OF command: dial tcp 10.244.0.10:6379: connect: connection refused"}
Though we check for pod readiness and IP to be assigned for a pod IP before marking, Some attempts still result in
connection refused
while the controller tries to talk to Dragonfly.Example
This causes the controller to retry.