that is a the procedure if user depoy app by k8s spec file with only a
special annotation    "*serviceomb.io/framework
<http://serviceomb.io/framework>: java-chassis*"

*roles:*
servicecomb injector
k8s API server
kubectl
app written in java chassis


kubectl create   k8s spec file  ---> spec hijacked by injector --->
injector rewrote this spec(injector sc address, for example) ---> call k8s
API server to deploy



Willem Jiang <[email protected]> 于2018年9月12日周三 下午3:51写道:

> It looks like a configuration loader from my side.
> Can you show me more detail about that?
>
> Willem Jiang
>
> Twitter: willemjiang
> Weibo: 姜宁willem
>
> On Wed, Sep 12, 2018 at 3:48 PM Xiaoliang Tian <[email protected]>
> wrote:
> >
> > sidecar injector is for service mesh pattern only, it inject a new
> > container in this pod
> >
> > for java chassis, it is another story.
> >
> > I am taking about another kind of injector, say servicecomb-injector
> >
> > it just injects java chassis configurations, for example like sc, zipkin,
> > prom address, nothing else. then developer don't need to care about those
> > infrastructures
> >
> > Willem Jiang <[email protected]> 于2018年9月12日周三 下午3:44写道:
> >
> > > What we need to do on the framework side.
> > > AFAIK, application doesn't need to know anything about the sidecar, as
> > > the network traffic is hijacked by the injector. Am I right?
> > >
> > > Willem Jiang
> > >
> > > Twitter: willemjiang
> > > Weibo: 姜宁willem
> > >
> > > On Wed, Sep 12, 2018 at 3:38 PM Xiaoliang Tian <
> [email protected]>
> > > wrote:
> > > >
> > > > I am hoping service comb can leverage kubernetes webhookmutating to
> > > > automatically inject sc, apollo, zipkin, prom, etc,  related config
> into
> > > > java chassis runtime
> > > >
> > > > all user need to do is use k8s annotation to tell it is writen in
> java
> > > > chassis, for example
> > > >
> > > > *serviceomb.io/framework <http://serviceomb.io/framework>:
> java-chassis*
> > > >
> > > > then developer never need to consider about the env-related things in
> > > this
> > > > k8s cluster. to let developer focus more on coding
> > > >
> > > >
> > > > our team wrote a sidecar for servicemesh already, same pattern can
> apply
> > > to
> > > > framework
> > > > https://github.com/go-mesh/sidecar-injector
> > >
>

Reply via email to