openfaas-cloud
openfaas-cloud copied to clipboard
Expose a manually deployed function to the cloud
So functions need to be manually deployed (e.g docker images) etc but they are then not accessible via the cloud UI, only the OpenFaas Dashboard UI which runs on a different port
Expected Behaviour
A manually deployed function to OFC appears in the Cloud UI
Current Behaviour
It appears in the normal OF dashboard, but not the Github Cloud UI
Possible Solution
Steps to Reproduce (for bugs)
A suggestion would be to add a stack.yml config to help support manually deployed functions or A setting to allow Docker Images in OFC
Context
Your Environment
Ubuntu 16.04, K8, Latest Docker
I would do it like this:
https://github.com/openfaas/openfaas-cloud/tree/master/dashboard#deploy-a-few-functions-for-sample-data
Does that help?
Alex
Hey @burf2000 If we implement this, I think there is no problem from UI standpoint to scrape all functions which are provided in the gateway REST endpoint and just show them, but I think this would break most if not content related with github/gitlab that we currently output.
Another way would be to implement specific dashboard for OpenFaaS native functions?
Does what Alex suggested works for you? I think it might be a good thing to add some description to that comment in README.md
.
Just duplicate the README instructions from the dashboard folder. It shows how to do this.
https://github.com/openfaas/openfaas-cloud/tree/master/dashboard#deploy-a-few-functions-for-sample-data