You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
In order to meet the needs of each service of our microservices to mount the sidecar of consul-client.
I tried to develop a SidecarSetWorkload for the catalog, but I needed a differentiated choice of pod to mount the sidecar. I saw a related issue: #136, Do I have any other solutions?
Openkruise's SidecarSet also uses selectors to select pods, and deploy sidecars in aspects. I found that ContainerizedWorkload does not support setting different labels.
@wenxinnnnn a better solution is to make sidecar as a trait, you can rely on patch trait mechanism to patch this sidecar into your workload.
I got it, thanks。
I didn’t see the corresponding implementation of this patch trait in this project. Did I miss it?
Is there an example where this trait has been implemented?
Btw, ContainerizedWorkload will propagate its labels/annotations to Pods, see: #166. So the only thing you need to do is directly define a SidecarSet CR as a trait and select the labels of ContainerizedWorkload.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In order to meet the needs of each service of our microservices to mount the sidecar of consul-client.
I tried to develop a SidecarSetWorkload for the catalog, but I needed a differentiated choice of pod to mount the sidecar. I saw a related issue: #136, Do I have any other solutions?
The text was updated successfully, but these errors were encountered: