You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The container injector is hard-coded to inject the New Relic agent into the first container in the pod. In my case, this causes the agent to be injected into the Istio sidecar container instead of the application container, leading to non-functionality.
Set up a Kubernetes pod with Istio sidecar injection enabled.
Deploy an application where the application container is not the first container in the pod.
Configure New Relic K8s Agent Operator to inject the agent.
Observe that the agent is injected into the first container (Istio sidecar), not the application container.
Expected Behavior
The New Relic agent should be injected into a specified application container, not the Istio sidecar.
Actual Behavior
The New Relic agent is injected into the first container in the pod, which in this case is the Istio sidecar container.
Suggested Solution:
Allow the container injector to target a specific container within the pod, provide a mechanism to configure which container the agent should be injected into.
Your Environment
K8s with Istio
The text was updated successfully, but these errors were encountered:
Description
The container injector is hard-coded to inject the New Relic agent into the first container in the pod. In my case, this causes the agent to be injected into the Istio sidecar container instead of the application container, leading to non-functionality.
Steps to Reproduce
Expected Behavior
The New Relic agent should be injected into a specified application container, not the Istio sidecar.
Actual Behavior
The New Relic agent is injected into the first container in the pod, which in this case is the Istio sidecar container.
Suggested Solution:
Allow the container injector to target a specific container within the pod, provide a mechanism to configure which container the agent should be injected into.
Your Environment
K8s with Istio
The text was updated successfully, but these errors were encountered: