megaease / easemesh

A service mesh implementation for connecting, control, and observe services in spring-cloud.
https://megaease.com/easemesh
Apache License 2.0
505 stars 60 forks source link

Dynamically configure sidecar inject parameters #116

Closed zhao-kun closed 2 years ago

zhao-kun commented 2 years ago

Currently, parameters used by injected sidecar were fixed values that were passed by the argument of the admission control. There are many parameters, leveraging argument is tedious and trivial, it's can't be modified dynamically. I suggest that we could save these global parameters in the Control Plane of the EaseMesh. When the admission control injects the sidecar for K8s resources, it can read configuration from the Control Plane of the EaseMesh and apply it to the sidecar configuration.

The parameters can be dynamically changed via the EaseMesh control plane API. The end-user could send requests to Easegress to change the default configuration.