Skip to content

Allow adding tags to the container instances #468

Open
@DaniJG

Description

@DaniJG

Describe the request
Allow users to specify tags to add into the created container instances

Explain why azure-aci Plugin needs it
Tags in Azure resources are very useful for various reasons like cost-tracking, billing, governance, reporting, etc
Currently when using ACI through the virtual-kubelet connector, we cannot control which tags get added to those container instances.

Describe the solution you'd like
Use a special label/annotation in the Pod spec like

annotations:
    virtual-kubelet.aci.io/tags: 'BillingCode=123,Team=Foo'

which the aci-connector will then translate as tags added to the container instance.

Describe alternatives you've considered
I have searched in the docs/code for some way of specifying tags I would like to add into the created container instances, but haven't found any.
Also verified that standard pod's labels/annotations aren't added as tags in the created container instances

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions