Custom Pod Scheduling

A bit outside of the initial topic but …

I need to be able to inject (via admission controller) trace libs for Datadog APM. This requires both access to custom labels and an annotation:

...
template:
  metadata:
    labels:
        admission.datadoghq.com/enabled: "true" # Enable Admission Controller to mutate new pods in this deployment
    annotations:
        admission.datadoghq.com/java-lib.version: "<CONTAINER IMAGE TAG>"
  containers:
...
1 Like