megaease/easemesh

Dynamically configure sidecar inject parameters

zhao-kun opened this issue · 0 comments

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.