GitHub user c4hm added a comment to the discussion: Deploy Streampipes to 
rancher (k8s) without Internet access

Hi @dominikriemer,
thanks for your answer!
these are two different points:
1. the extensions-all-iiot image does not care about 
`streampipes.core.appName`. It connects to backend:8030. And I did not find an 
environment variable to tell the image to use another name to connect to. But I 
switched the name of the backend pod to backend and now the extensions can 
register. It would be nice to be able to change the backend name. It makes 
things easier in bigger K8S Environments. (but it's only nice to have)
2. Rancher does not like the `-path: /streampipes-backend(/|$)(.*)` statement 
from the ui-ingress.yaml (don't know why). So we decided to use the reverse 
proxy from the ui nginx, which is already prepared in the ui-configmap.yaml. 
The problem is: The backend tomcat does not answer requests to /. We got a 502 
from nginx and a 404 from the backend directly. The backend only answers 
requests to /streampipes-backend. So we had to change the configmap (nginx 
default.conf). We simplified it a bit to:
`proxy_pass http://backend:8030/streampipes-backend;`
now it is up and running. That means I have even more questions :-). But they 
don't belong to this thread.
Thank!

GitHub link: 
https://github.com/apache/streampipes/discussions/3220#discussioncomment-10616030

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to