Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding tags to the container instances #468

Open
DaniJG opened this issue Feb 22, 2023 · 0 comments
Open

Allow adding tags to the container instances #468

DaniJG opened this issue Feb 22, 2023 · 0 comments

Comments

@DaniJG
Copy link

DaniJG commented Feb 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants