I have followed tutorial directly from rasa.com on how to install RasaX on Kubernetes cluster, I have also watched advanced RasaX course on udemy.com, but neither of them answered my question - how to make HTTP request to RasaX from outside the Kubernetes cluster.
By following the tutorials I have managed:
- Install RasaX on Kubernetes cluster,
- Opened required ports and assigned external IP to NGINX pod,
- After assigning external IP for NGINX, I opened RasaX on my browser (http://server-ip:8000)
- Logged in on RasaX. I’m able to upload the models, chat with the bot, etc.
Now I need to connect my website chat widget with Rasa. I imagine, that to do so, I should do HTTP request from widget back-end to rasa using this url: http://server-ip:5005/webhooks/rest/webhook
The problem is that the external IP within the cluster is assigned only to NGINX pod, not Rasa. As I understand I should do the requests to Rasa through NGINX (or am I wrong?), so the question is how to do so?
The Kubernetes cluster is running on Google Cloud VM.