Skip to content

Propagate annotations to target allocator deployment #4393

@nelsih

Description

@nelsih

Component(s)

target allocator

What happened?

Description

We need annotations under the targetallocator Deployment resource, which is needed for downscaling of it through the py-kube-downscaler application.

Currently, it's not possible to add annotations in the target allocator deployment. The following options have not worked so far to add annotations in the Deployment:

  • Adding annotations under the OpenTelemetryCollector resource (they are propagated in the Pod annotations, but not in the Deployment annotations of TargetAllocator).
  • Using the TargetAllocator CRD through usage of podAnnotations or annotations under metadata (annotations get also attached to the pods, but not the Deployment itself).

Expected Result

Having Annotations under the metadata of the TargetAllocator Deployment.

Actual Result

Annotations are attached to the Pods of the TargetAllocator, but not on the Deployment.

Kubernetes Version

1.33

Operator version

v0.134.0

Collector version

v0.134.0

Environment information

Environment

OS: Linux

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

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