azure-aci
azure-aci copied to clipboard
Allow adding tags to the container instances
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