public-cloud-roadmap
public-cloud-roadmap copied to clipboard
Attach label/tags to instance
As a user, I want to attach tag(s)/label(s) to compute instances via API (or via the UI when I start a new instance) and I want to retrieve this information from the API when I request information on a specific instance (even after deletion). For Kubernetes, it would be great if can associate label/tags on nodepools and assign them on the started instance of this nodepools.
The goal is to compute a monthly billing grouped by labels/tags.
Right now, it's impossible to get this information when autoscaling is enabled. When we have 3 nodepools, autoscalable for 3 different services, it's impossible to know what we spent on which nodepools at the end of the month.
I tried to find a workaround via the API, but it's impossible right now. When I use this API: https://api.ovh.com/console/#/cloud/project/%7BserviceName%7D/usage/history/%7BusageId%7D~GET I have a list of instance Id, but since the instance have been auto deleted, I cannot know from which nodepools they have been created https://api.ovh.com/console/#/cloud/project/%7BserviceName%7D/instance/%7BinstanceId%7D~GET does not give this information.
Someone already suggested it in another comment: https://github.com/ovh/public-cloud-roadmap/issues/199#issuecomment-1046252416
indeed and we need also it to all resources (not only instances) to build a cloud tagging strategy
https://github.com/ovh/public-cloud-roadmap/issues/245
I just re-open the issue here because still in 2024, I think that would be a great improvement to add. Thank you
I agree with that. Would be really helpful for usage and bulling. It should be easy to implement.
And we should also be able to assign such kind of labels frim YAML settings when using MKS, LB, Gateway