Using Pulsar inside Istio Service Mesh? #19703
|
In brief: is there a guide on how to best use pulsar in combination with Istio? Pulsar inside the mesh, or outside but with its own tls enabled? Or another way? How? I have a k3s cluster with istio enabled. I then deploy the pulsar helm chart: This gets deployed in a namespace with "istio-injection=enabled" together with an allow-all authorization policy (just to get things up and running first, adding strict policies later). So all pods get an envoy sidecar which hijacks all networking, but all traffic through that sidecar between all pulsar pods is allowed for. Where I get stuck, and I found no way to work around this, is with the initcontainer On the other hand, I do see that there is |
Replies: 1 comment 3 replies
|
@valkenburg-prevue-ch I think your issue is caused by the Istio limitation. Like the issue mentioned, there is no easy solution now. In our use case, we removed init containers on our pulsar operators to support Istio. Also, we did some extra integration like creating the Istio gateway & VirtualService through our operator. If you are interested to have a try, you can follow this documentation to deploy a pulsar cluster with Istio injected and use Istio gateway to expose Pulsar traffic. |
@valkenburg-prevue-ch I think your issue is caused by the Istio limitation. Like the issue mentioned, there is no easy solution now.
In our use case, we removed init containers on our pulsar operators to support Istio. Also, we did some extra integration like creating the Istio gateway & VirtualService through our operator. If you are interested to have a try, you can follow this documentation to deploy a pulsar cluster with Istio injected and use Istio gateway to expose Pulsar traffic.