Side Car Injection
- Inject the sidecar into the application pods
kubectl get deployment arcadia-frontend -oyaml | nginx-meshctl inject | kubectl apply -f -
kubectl get deployment arcadia-login -oyaml | nginx-meshctl inject | kubectl apply -f -
kubectl get deployment arcadia-stock-transaction -oyaml | nginx-meshctl inject | kubectl apply -f -
kubectl get deployment arcadia-stocks -oyaml | nginx-meshctl inject | kubectl apply -f -
kubectl get deployment arcadia-users -oyaml | nginx-meshctl inject | kubectl apply -f -
- Wait for the sidecar to be injected in all pods and verify that the pods have 2 containers
kubectl get pods
Output
- Propagate the opentracing headers so we can get full visibility within the mesh