Thanks for the help
Warok Edit
Assuming that my nodes name are node1 and node2, does the following yaml file is right?
apiVersion: networking.istio.io/v2alpha3
kind: Gateway
metadata:
name: node1
…
spec:
hosts:
- nod1
tcp:
-match:
-port: 27017
- route:
- destination:
host: node2
—
Hi, I don’t think it’s possible to use Istio VirtualSerivces and Gateways to route Node-level traffic.
The Node is the underlying VM running workloads (Pods). Pods are exposed via Services. VirtualServices and Gateways operate at the Services level.
What you can do is forward traffic from one Kubernetes Service to another Service, using an Istio VirtualService: