dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.
https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation
Apache License 2.0
132 stars 28 forks source link

fix(dfi): check pod ip before marking #49

Closed Pothulapati closed 1 year ago

Pothulapati commented 1 year ago

Now that we mark pods as they get instanced without waiting for all resources to be created the code cannot expect all pods to be ready while it configures replication. This adds an extra pod IP Check.

If there is a pod without IP, the controller will wait for the next pod event which gets triggered automatically once Kubernetes adds the IP.