Is there a way to mark using labels ReplicationSources and ReplicationDestinations? #1670
Unanswered
Sanjeeth8733
asked this question in
Q&A
Replies: 1 comment
-
|
There should be nothing stopping you from adding labels & annotations to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi VolSync team,
For our internal use of VolSync, we occasionally need to turn off VolSync workers during cluster upgrades/downgrades. We're managing the VolSync Custom Resources (ReplicationSource and ReplicationDestination) manually, not via Helm, because of two key reasons:
These CRs need to be the very last things created by Kubernetes during install.
They need to be the first things removed during uninstall/upgrade.
To support this, we wanted to mark the resources in a way that makes them easy to select and delete via kubectl or scripts.
We tried adding labels like so:
But unfortunately, these labels are not present on the actual resource after creation. We couldn't find documentation on whether custom labels/annotations are allowed or filtered out by the controller.
Questions:
Are user-defined labels/annotations supported on VolSync CRs like ReplicationSource and ReplicationDestination?
If not, is there an alternative recommended approach to identify and selectively delete only a subset of VolSync resources (e.g., based on an owner or group)?
Could this be considered a feature request to support custom labels for better resource lifecycle management?
Thanks in advance for any guidance!
Beta Was this translation helpful? Give feedback.
All reactions