Open XiShanYongYe-Chang opened 2 months ago
/help
Looking forward to interested people to participate in this work. Feel free to communicate if you have any questions.
@XiShanYongYe-Chang: This request has been marked as needing help from a contributor.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help
command.
I would be interested in contributing :)
/assign
Thanks a lot ^-^ @a7i
Two areas I could use some guidance on:
Migration of existing Work that is suspended via annotation. How do you think this should be done?
Querying Work by label Selector. It seems to me that we should leave the label for work created by MultiClusterService. Thoughts? https://github.com/karmada-io/karmada/blob/004de437332c3d28351178eca179616faee8892c/pkg/controllers/multiclusterservice/mcs_controller.go#L133-L135
Hi @a7i
For 1: Existing works that use the propagation.karmada.io/instruction
label are collected from member clusters and are used to wrap the EndpointSlice objects; they do not have corresponding resource templates in the Karmada control plane. Therefore, I understand that they will not introduce upgrade issues and can be processed directly.
For 2, I‘m sorry, I didn't quite understand the meaning of the question.
In the past, we've used the annotation
propagation.karmada.io/instruction
to mark Work propagation instruction, when it's value issuppressed
, it indicates that the resource should not be propagated.https://github.com/karmada-io/karmada/blob/c575d4f211839be2fbaac767d956dab28d30ad8f/pkg/util/constants.go#L41-L47
In the proposal Support for cluster-level resource propagation pause and resume capabilities, we add the
Suspension
filed in theWork
API, as stated in the proposal, we can replace workpropagation.karmada.io/instruction
annotation with workSuspension
field.We can mark the
propagation.karmada.io/instruction
annotation as deprecated, replace the annotation with theSuspension
field in the code logic, and finally remove the annotation.