Cluster
Definition
SENSR operates within a Kubernetes environment to ensure system availability and to facilitate communication between Master and Algo nodes in distributed systems. For the successful execution of SENSR, it is necessary to establish a Kubernetes Cluster linked to a designated IP address on the host machine.
Setup Recommendation
In order to maintain the stability of SENSR, it is crucial to ensure that the cluster IP remains stable.
An unreliable network connection or a dynamic IP can potentially lead to instability within SENSR.
Distributed Systems
When you are setting up a distributed system, it is recommended to use the network interfaces which are under the common network gateway as the cluster IP and to ensure that the network connection is stable and reliable. For example, if the SENSR hosts are connected to a router, it is recommended to use the router's.
Single Machine
When you are setting up a single machine system, the choice of cluster IP depends on the network configuration:
- If the machine has a reliable and stable external network connection, it is preferable to assign that external IP as the cluster IP.
- If the machine lacks an external network connection or if the available connection is unreliable, it is recommended to set the cluster IP as the network interface which is connected to the LiDAR.
- In situations where even the LiDAR interface is not deemed trustworthy and only a single machine is hosting SENSR, the docker0: 172.17.0.1 network interface can be employed as the cluster IP.