Giter VIP home page Giter VIP logo

Comments (4)

jqmichael avatar jqmichael commented on July 24, 2024

Just to make sure I follow your idea. You are saying having a component, foo, that watches different Injector custom resources in each namespace, and inject sidecars to pods in those namespaces according to the Injector spec.

To be more specific, I can have an "Envoy" Injector custom resource in namespace A, and a "CloudWatchAgent" Injector custom resource in namespace B, and foo is responsible for injecting "Envoy" to pods in namespace A and "CloudWatchAgent" to pods in namespace B.

Am I understanding it correctly?

from aws-app-mesh-controller-for-k8s.

stefanprodan avatar stefanprodan commented on July 24, 2024

Yes, that foo component is actually aws-app-mesh-inject. When installing the webhook, you provide some defaults like tracing enable with sampling 0.20, this applies to all namespaces. Next you create an injector custom resource in the prod namespace and set the sampling to 100. When a pod gets created inside the prod namespace, the webhook will query Kubernetes API for injector resources and since prod has one it, will set the sampling to 100.

from aws-app-mesh-controller-for-k8s.

stefanprodan avatar stefanprodan commented on July 24, 2024

This could solve https://github.com/aws/aws-app-mesh-inject/issues/59 by allowing users to specifying sidecar resources limits on a per namespace bases.

from aws-app-mesh-controller-for-k8s.

ar4096 avatar ar4096 commented on July 24, 2024

@cgchinmay @Y0Username Lets review this to see if this is something we should prioritize.

from aws-app-mesh-controller-for-k8s.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.