Open
Description
I propose adding the option to configure a lifecycle preStop hook with a sleep delay for datadog containers.
Currently, we introduce a 30-second sleep in our services to ensure zero-downtime deployments on EKS (https://glasskube.dev/blog/kubernetes-zero-downtime-deployments-aws-eks/). However, we've noticed that the Datadog agent container shuts down prematurely, resulting in the loss of trace and metric data during the shutdown process.
By enabling a configurable preStop hook, we can delay the termination of Datadog containers, allowing them to continue collecting and forwarding telemetry data until the primary services have shut down gracefully.
Metadata
Metadata
Assignees
Labels
No labels