How to set up an internal tcp service that isn't http, http2, grpc, mongo, or redis

How do you set up a tcp service that isn’t http, http2, grpc, mongo, or redis? For example, php-fpm listens on port 9000 tcp. I have a deployment with a sidecar injected, and I have a kubernetes service installed for it. Do I need to create a serviceentry for it?

Thanks,

The following article might help:
https://venilnoronha.io/raw-tcp-traffic-shaping-with-istio-1.1.0

  • Venil

That is helpful, but if I don’t need an ingress and I don’t need to route to two different versions, do I still need the destinationrule, gateway, and virtualservice?

You wouldn’t need those in the case.

  • Venil