MeshSync is a custom Kubernetes controller that provides tiered discovery and continual synchronization with Meshery Server as to the state of the Kubernetes cluster, service meshes, and their workloads.
MeshSync’s working snapshot of the state of each cluster and service mesh under management is stored in-memory and continuously refreshed.
MeshSync is managed by the Meshery Operator.
What are MeshSync’s core responsibilities?
Discover existing resources inside the kubernetes cluster
The resources that are present inside the cluster are discovered efficiently with the help of pipelines. The data is constructed in a particular format specific to meshery and publish across to different parts of the architecture.
Listening to events/changes on every component
MeshSync implements several informers/listeners across each resource to listen to changes that occur to them. These are reflected at real time and are updated in their respective areas.