Coder Social home page Coder Social logo

vista's People

Contributors

carimura avatar denismakogon avatar hibooboo2 avatar sachin-pikle avatar termie avatar treeder avatar tteggel avatar zootalures avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vista's Issues

Vista must work with the distributed Fn

So, at this moment, Flow mode is the only way to run vista demo.
At this moment in order to run vista on a remote Fn a lot of work needs to be done:

  • build/test images
  • push images to the registry
  • setup an application with some functions

For now Vista in Flow mode works only with all-in-one Fn (basically what you get from fn start).
However, Vista suppose to work fine with distributed Fn (api, runner lb, runners).
So, how things suppose to be different:

  • flow needs to talk to LB runner (an address that is mentioned in invoke annotation)
  • new env var needs to be introduced FN_INVOKE_PATH that by default should point to Fn API endpoint.

Hopefully, this is the amount of work that needs to be done.

envs-example.sh gives incorrect docker command for finding local IP address of fn server

envs-example.sh has this line

# on linux/bmc find this out with "docker inspect --type container -f '{{.NetworkSettings.Gateway}}' functions"

When running "fn start" the container that is started is actually named "fnserver" so this command doesn't correctly find the IP address of the container.

$ docker container list
CONTAINER ID        IMAGE                COMMAND             CREATED              STATUS              PORTS                              NAMES
24dc2af19b71        fnproject/fnserver   "./fnserver"        About a minute ago   Up About a minute   2375/tcp, 0.0.0.0:8080->8080/tcp   fnserver

I think this needs to be

$ docker inspect --type container -f '{{.NetworkSettings.Gateway}}' fnserver 
172.17.0.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.