I’m trying to setup an Istio service where it can connect into a standard kubernetes service via AMQP. I can see the traffic getting there but I pretty much always get:
as soon as I turn off istio sidecar injection it starts working as expected again, from some quick searching it suggests that istio is perhaps forcing TLS or something? Could do with some help trying to get this working.
You could just annotate the RabbitMQ pods instead of editing the Istio config directly. Here’s what I did:
```
apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
spec:
override:
statefulSet:
spec:
template:
metadata:
annotations:
#annotate rabbitMQ pods to only redirect traffic on ports 15672 and 5672 to Envoy proxy sidecars.
**traffic.sidecar.istio.io/includeInboundPorts: "15672, 5672"
traffic.sidecar.istio.io/includeOutboundPorts: "15672, 5672"**
```
For some reason the exclude port annotations weren’t working so I just flipped it by using include port annotations. In my case, the global Istio config is controlled by another team in the company so perhaps there’s a clash when trying to use the exclude port annotations.