Skip to content

[Feature]: Add language annotation to k8s deployment files #147

@svrnm

Description

@svrnm

Problem Statement

When I run app simulator with the k8s generator and deploy my services to k8s, I can not easily identify the language used for a service using kubectl or other kubernetes tooling. This would especially come handy if I want to apply automatic instrumentation based on annotations with the otel operator

Proposed Solution

I suggest that we add a few more labels to the services, i.e.

  • app.kubernetes.io/component (from the recommended labels) with value database, service, loader, etc, such that my instrumentation only aims at services
  • app-simulator.io/type with the type attribute from our config java

Later on we can decide to add more attributes into labels (or annotations), but I think those 2 are important to be added to enable some more features.

Alternatives Considered

No response

Additional Context

No response

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageThis issue or pull request requires triaging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions