Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clustermesh: add etcd cluster ID to remote cluster status information
174e721 ("ClusterMesh: validate etcd cluster ID") introduced the support for running multiple replicas of the clustermesh-apiserver, by validating the etcd cluster ID and restart the connection if a change is detected. This prevents accepting responses from a different replica (.g., following a deployment rollout), with the potential consequence of missing events or retaining invalid data. Let's additionally output the etcd cluster ID as part of the remote clusters status, to make it easier to figure out which replica each agent is connected to. The same ID is also output as part of clustermesh-apiserver etcd logs, as well as by the troubleshoot commands which are being introduced. Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
- Loading branch information