-
Notifications
You must be signed in to change notification settings - Fork 206
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
Allow functions to resolve the core services #134
Comments
utsavanand2
added a commit
to utsavanand2/faasd
that referenced
this issue
Jan 25, 2021
More details on issue openfaas#134 Signed-off-by: Utsav Anand <utsavanand2@gmail.com>
12 tasks
For anyone landing here - the ebook referenced in the README has detailed examples for this, effectively for the time being it's best to use the IP of |
utsavanand2
added a commit
to utsavanand2/faasd
that referenced
this issue
Mar 3, 2021
Mount the hosts file from /var/lib/faasd to the containers Signed-off-by: Utsav Anand <utsavanand2@gmail.com>
utsavanand2
added a commit
to utsavanand2/faasd
that referenced
this issue
Mar 11, 2021
Mount the hosts file from /var/lib/faasd to the containers Signed-off-by: Utsav Anand <utsavanand2@gmail.com>
Until this is merged I can highly recommend: https://willschenk.com/articles/2021/setting_up_services_with_faasd/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behaviour
Functions should be able to resolve the core services via name, such as
gateway
Current Behaviour
They cannot because the provider has its own /etc/hosts file which is separate from the main faasd process.
Possible Solution
Have the faasd process write the hosts file for the faasd-provider process, or have faasd-provider read from the faasd file.
Steps to Reproduce (for bugs)
http://prometheus:9090/
Context
Generally, functions should not call other functions directly but via the gateway
Some functions like in OpenFaaS Cloud call into Prometheus directly, which wouldn't work.
The NATS connector example has a sample workload that publishes a message directly to NATS which won't work with faasd today.
The text was updated successfully, but these errors were encountered: