Closed ncerny closed 7 years ago
👍
Eventually, do we end up with another custom resource called backend_cluster (or something) with actions of join, remove, etc. I only bring it up because the peer discovery code seems like it could perhaps be factored out into a method, but I'm not sure it belongs directly in the backend resource.
I'm not sure. A backend doesn't really have any semantic meaning outside of the context of a cluster. How would you envision the resource behaving?
This is the groundwork to allow the first cluster member to become the bootstrap node, without requiring that to be pre-defined.