Comments (4)
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.
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.
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.
@cgchinmay @Y0Username Lets review this to see if this is something we should prioritize.
from aws-app-mesh-controller-for-k8s.
Related Issues (20)
- PostStart hook fails if `envoyAdminAccessPort` is set HOT 3
- GatewayRoute Selector Inconsistent Behavior
- Virtual Node DNS service discovery is not working as expected HOT 2
- Outdated Changelog and release list
- Support for GatewayRoute target port HOT 1
- Unable to create routes for VirtualRouter with multiple listener HOT 4
- GatewayRoute Admission Webhook not in keeping with AWS API/UI: match prefix does not need to end in '/' HOT 1
- After modyifing the virtualrouter/virtualnode k8s manifest file it not update changes inPlace HOT 11
- GrpcRouteMatch port match error despite defining it HOT 6
- can't inject env var with a comma in it's value HOT 4
- 🚨 appmesh-envoy:v1.27.0.0-prod does not run HOT 2
- Override APPMESH_EGRESS_IGNORED_PORTS in injected proxyInit container HOT 4
- Does the cloudmap namespace have to match the k8s namespace? HOT 10
- No Init or Sidecar containers injected HOT 2
- cert-manager api deprecated HOT 1
- Missing documentation for that EKS VPC Endpoint is required for private cluster
- Cannot update VirtualRouter listener protocol with defined routes
- Cannot create sidecar containers
- Add new option to inject envoy container using sidecar feature provided by Kubernetes
- Unnecessry Virtual Node Updates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-app-mesh-controller-for-k8s.