-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Have labels on GCP Disks and Snapshots #10612
Comments
Spent some time researching how to do that and have a plan now.
So for disks we can implement this by using this param and creating a storage class for each workspace class. Since each workspace class can specify its own storage class, it should work just fine. There is no such support for |
Code merged, waits for the next release 🚀 |
It's good to add the cluster name to the label, so we can easily file the cluster by the label on the GCP console. |
This PR enables labels on disks. |
@sagor999 is there an ETA for upstream to release new driver? |
Not as far as I know... :( Just have to wait, or we can build it ourselves and use our own version until then. |
kubernetes-sigs/gcp-compute-persistent-disk-csi-driver#1017 (comment) |
Hi @jenting what release cycle do they generally follow, can you share a link? If none, can you reach out to Matt again? |
v1.8.0-rc1 release |
@sagor999 I have a question, if we would want to add custom labels to |
Yeah, that is the only way or build our own version of it that has that commit. |
If I understand correctly, creating separate volume snapshot classes with different labels. |
yup! |
I built it |
@jenting probably no need to build you own version of it anymore: https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/releases/tag/v1.8.0 |
The container image does not released 😢 |
I build our own |
Is your feature request related to a problem? Please describe
We need to add labels to GCP Disks and Snapshots because we use labels to filter the cost.
Describe the behaviour you'd like
Make the GCP Disks and Snapshots have labels so we are able to filter the cost.
Describe alternatives you've considered
N/A
Additional context
#10186 (comment)
#7901
The text was updated successfully, but these errors were encountered: