Skip to content

Allow configuring agent pod annotations separately from the manager pod #620

Open
@alex-bezek

Description

@alex-bezek

Description

Currently we configure out datadog monitoring using pod annotations for autodiscovery such as this

podAnnotations:
  ad.datadoghq.com/ngrok-operator.logs: |
    [
      {
        "service": "ngrok-operator",
        "source": "ngrok-operator"
      }
    ]

This gets applied to each pod though including the agent pods.

This gets applied to both sets of pods but in ad.datadoghq.com/<identifier>.logs the identifier I believe is supposed to be the container name. I can double them up for now I think, but it would be nice to be able to control those annotations separately.

Use Case

Applying different pod annotations to each set of pods for different types of integrations with other k8s services

Related issues

Edit: Log level tuning for just the agent might also be nice

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions