Hi Guys, i try to get a small Rasa application for matching intents running on Kubernetes. I use a pretty simple dockerfile to build my image, which i pull from a private registry to my pod in kubernetes. The Deployment in Kubernetes works. I can access the pod via kubectl exec command. But for example if i try to check the rasa version with ‘rasa --version’ i get an Illegal Instruction error all the time. I already heard that this is the case if avx is not supported by the vm and it´s caused by TensorFlow. Is there perhaps a better way of deploying Rasa to Kubernetes? I just started with Rasa, Docker and Kubernetes so i´ve run out of ideas.
FROM python:3 RUN pip install --upgrade pip RUN pip install rasa
apiVersion: extensions/v1beta1 kind: Deployment metadata: name: nlp-recruiting-app namespace: nlp-recruiting spec: replicas: 1 template: metadata: labels: app: nlp-recruiting-app spec: containers: - name: nlp-recruiting-app image: myimageongitlab command: ["/bin/bash", "-ce", "tail -f /dev/null"] imagePullPolicy: Always ports: - containerPort: 80 imagePullSecrets: - name: gitlabregistry-secret