I’ve seen the overall architecture diagrams, but am struggling to trace the execution flow when deploying a mesh. I think it might be something like this?
deploy mesh (either UI or CLI)
API POST request is sent from client to <meshery-server>/api/system/adapter/operation
meshery-server forwards request to specified adapter
adapter uses meshery-adapter-library to create new mesh object
adapter uses meshkit to invoke Helm operation (INSTALL) referencing the new mesh object
The Meshery Architecture deck contains a number of sequence diagrams, but doesn’t yet have one covering service mesh provisioning (help wanted).
through 4. - - spot on.
5.1. adapter uses meshkit to invoke Helm operation (INSTALL) referencing the new mesh object.
5.2. if Helm operation fails, adapter uses secondary deployment operation(s), which most of the time means using the specific service mesh’s CLI as the deployment mechanism.