-
Notifications
You must be signed in to change notification settings - Fork 265
Description
Hi,
I am using NuRaft within Kubernetes. Each of my servers get ClusterIP DNS entry which I use to start raft servers. Additionally to that, each of my servers need to be accessible from outside K8s cluster. Because of that, I wanted to make use of user_ctx
. The hard part is that I will find out external IP of each server when I add it to the cluster. Is this a good use-case for user_ctx
? Do you have some other recommendation for what I should use for storing a config related to each server. aux
of srv_config
seems to be immutable so I cannot use that. I also thought about adding my custom log in which additional information about each server would be written but not sure if this is a good pattern to have in custom logs written something that's very connected to cluster configuration.
Thanks for the help