Security Identity for N/S Service Traffic

When accessing a Kubernetes service from outside the cluster, the Identity-based assignment depends on the routing mode.

In the tunneling mode (i.e., --tunnel=vxlan or --tunnel=geneve), the request to the service will have the reserved:world security identity.

In the direct-routing mode (i.e., --tunnel=disabled), the security identity will be set to the reserved:world if the request was sent to the node which runs the selected endpoint by the LB. If not, i.e., the request needs to be forwarded to another node after the service endpoint selection, then it will have the reserved:remote-node.

The latter traffic will match fromEntities: cluster policies.