not sure if my short description in the title is all correct… so here the long version
I have a remote Kubernetes cluster running an instance of rabbitmq, not listening on the default AMQP port, but 45672
In my local cluster i have a kubernetes service and endpoint that is listening on the default port using the name rabbitmq-dmz that redirects? the traffic ?
apiVersion: v1 kind: Service metadata: name: rabbitmq-dmz namespace: neo spec: clusterIP: 10.43.70.29 ports: - port: 5672 protocol: TCP targetPort: 45672 sessionAffinity: None type: ClusterIP
apiVersion: v1 kind: Endpoints metadata: name: rabbitmq-dmz namespace: neo subsets: - addresses: - ip: 10.20.30.254 ports: - port: 45672 protocol: TCP
How do i define a ServiceEntry for that ?
Or do i have to do something else ?
Currently i see this as PassthroughCluster traffic i think…