How to Enable Sticky Session on Server Side which is Not Exposed Outside

I have two microservices running in Kubernetes Cluster (Client and Server using Socketio Protocol). But the Server Cannot be exposed. And Client Communicate to Server Using Session Gateway(API Gateway). That says Server Cannot Have IngressRoutes. In this Case how Can I enable Sticky session ?