k8s: Deploy jaeger-agent as a Daemonset instead of sidecar container
Created by: beyang
From Yuri Shkuro (the main jaeger dev) on deploying jaeger-agent as a Daemonset vs sidecar container:
It's certainly possible and even recommended. A sidecar deployment for jaeger-agent is only useful in multi-tenant scenarios. See this blog post for discussion on various deployment options: https://medium.com/jaegertracing/deployment-strategies-for-the-jaeger-agent-1d6f91796d09
Reasons:
- 1 daemonset per node is typically less than 1 sidecar per pod
- Jaeger OOMing will not cause the whole pod (including the actual service) to be evicted