Troubleshoot minikube deployment issues
Learn how you can troubleshoot various issues when you deploy MOSTLY AI to a minikube cluster. Each of the listed issues includes a description of the problem and solution that shows how to workaround the issue.
Cannot upload files
Problem
When you attempt to upload files in MOSTLY AI, you might see the error notification Error while connecting API
.
Solution
-
Check if you have enabled the
ingress
add-on in your minikube cluster. For details, see Task 10: Install required minikube addons . -
Make sure that you have enabled the
ingress
annotations for themostly-app
andmostly-keycloak
services in thevalues.yaml
file as listed below.values.yamlmostly-app: ingress: annotations: nginx.ingress.kubernetes.io/proxy-body-size: 10240m nginx.ingress.kubernetes.io/proxy-buffer-size: 128k nginx.org/proxy-connect-timeout: 3000s nginx.org/proxy-read-timeout: 3000s nginx.org/client-max-body-size: 3000m # annotations: {}
values.yamlmostly-keycloak: ... ingress: annotations: nginx.ingress.kubernetes.io/proxy-body-size: 10240m nginx.ingress.kubernetes.io/proxy-buffer-size: 128k # annotations: {}
-
Apply the changes to the
values.yaml
file and redeploy the MOSTLY AI Helm chart.