File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 22
33In order to use AWS App Mesh in Kubernetes, pods in the mesh must be running the AWS App Mesh sidecar proxy (Envoy).
44
5- The following sections describe methods for injecting sidecar/Envoy into a pod for Virtual Nodes and Virtual Gateways
5+ The following sections describe methods for injecting sidecar/Envoy into a pod for Virtual Nodes and Virtual Gateways.
66
77## Envoy injection for virtual nodes
88
@@ -171,3 +171,26 @@ spec:
171171 ports:
172172 - containerPort: 8088
173173```
174+
175+
176+ ## Custom Environment Variables For Envoy
177+
178+ Additional environment variables can be passed to the envoy sidecar container by
179+ adding an ` appmesh.k8s.aws/sidecarEnv ` annotation to the application's
180+ deployment:
181+
182+ ``` yaml
183+ apiVersion : apps/v1
184+ kind : Deployment
185+ metadata :
186+ name : ingress-gw
187+ namespace : ns
188+ spec :
189+ template :
190+ metadata :
191+ annotations :
192+ appmesh.k8s.aws/sidecarEnv : " CUSTOM_VAR=value1"
193+ ` ` `
194+
195+ Multiple variables can be set by passing a comma-delimited list -
196+ ` appmesh.k8s.aws/sidecarEnv: "CUSTOM_VAR_1=a, CUSTOM_VAR_2=b"`.
You can’t perform that action at this time.
0 commit comments