Dear all, I fail to deploy a Rasa Open Source Server on a clean Ubuntu 20.04. This are the commands I use (using root user)
I first install snapd
apt-get update
apt install snapd
Then microk8s
sudo snap install microk8s --classic --channel=1.28
sudo usermod -a -G microk8s $USER
sudo chown -f -R $USER ~/.kube
su - $USER
Then follow the instructions on Deploy Rasa
microk8s kubectl create namespace rsg
touch rasa-values.yaml
nano rasa-values.yaml
I add:
applicationSettings:
initialModel: "https://github.com/RasaHQ/rasa-x-demo/blob/master/models/model.tar.gz?raw=true"
microk8s helm repo add rasa https://helm.rasa.com
microk8s helm install \
--namespace rsg \
--values rasa-values.yaml \
bot1 \
rasa/rasa
nano rasa-values.yaml
I add:
service:
type: "NodePort"
microk8s helm upgrade --namespace rsg --reuse-values -f rasa-values.yaml bot1 rasa/rasa
export NODE_PORT=$(microk8s kubectl get --namespace rsg -o jsonpath="{.spec.ports[0].nodePort}" services bot1-rasa)
export NODE_IP=$(microk8s kubectl get nodes --namespace rsg -o jsonpath="{.items[0].status.addresses[0].address}")
echo "http://${NODE_IP}:${NODE_PORT}"
If I curl the adress, I get connection refused. I tried different things like enabling ingress, port forwarding, checking /etc/hots, … but I just failed. What should I try?
Thanks a lot in advance for your help! Simon