pinpoint-docker
pinpoint-docker copied to clipboard
Can we run Pinpoint Agent as a daemonset or sidecar across the deployment in any contain ecosystem?
Context:
In my Kubernetes infrastructure, there were 100 of Apps (90% of Spring boot apps + 10% of Node JS App) running on GCP(GKE) Environment.
Questions:
Can i run pinpoint agent as below, I am aware of that Pinpoint agent does byte code instrumentation and it runs along with app container, However just curious to understand which one would be the "Best way to induce/integrate Pinpoint Agent in Spring boot appl running as a container"
-
Is it right methodology to run Pinpoint java agent as a daemonset
-
How about running as a side-car container along with spring boot app container along side?
-
As a default option to run a docker-compose file to run spring boot+Pinpoint Agent as a single container deployment ?
These all are assumptions, Hence please do correct me If I have misinterpreted anything here
- Is it right methodology to run Pinpoint java agent as a daemonset
- I'm not sure what "demonset" means. The pinpoint-agent runs inside the application.
- How about running as a side-car container along with spring boot app container along side?
- We are preparing an ISTIO module for the sidecar. The sidecar pattern has a limitation that it cannot be tracked inside the application.
- As a default option to run a docker-compose file to run spring boot+Pinpoint Agent as a single container deployment ?
- Of course you have to run with single container. Because the agent does not run as another process.
@emeroad - Thanks for the valuable insights, it really helps, Just one more question like all my apps sitting as a container (pods) on GKE environment whereas all the traffic goes through Istio via gRPC , My question here is whether current version of pinpoint supports that ?
Hello, @dinesh4747, again.
I see a few questions that were already answered on gitter.
just to supplement a few things. As answered through gitter. Istio will be supported in the future releases. So of course, currently Pinpoint doesn't support it.
Is the application and Pinpoint Agent running inside a single container? Yes. Does it HAVE to be deployed as a single container? I think not You can take a look at our docker repository
I believe you will find the difference.