Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run function not working as expected when run in k8s #46

Open
lenalebt opened this issue Feb 9, 2018 · 1 comment
Open

Run function not working as expected when run in k8s #46

lenalebt opened this issue Feb 9, 2018 · 1 comment

Comments

@lenalebt
Copy link

lenalebt commented Feb 9, 2018

When I run the fn ui via the helm chart in kubernetes and add an ingress to connect to the ui, it uses the cluster-internal FN_API_URL for running queries against the fn-api from the user's browser. This service is not available externally as long as there is no ingress configuration.

image

I think it should either use some proxying through the fn-ui, or allow an FN_EXTERNAL_API_URL to be set that will be used in these contexts. In my case, the fn api is available on fn-api.local. I am running this stuff within minikube for local development.

@lenalebt
Copy link
Author

lenalebt commented Feb 9, 2018

I found a workaround using https://github.com/superbrothers/minikube-ingress-dns which allows me to use the same DNS names from within the cluster and locally.

Nevertheless, it might be beneficial to be able to set a different URL for internal and external reachability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant