Git Product home page Git Product logo

Comments (12)

kinghuang avatar kinghuang commented on May 12, 2024 2

@alexellis Will do! I've added this to my task list.

from faas.

alexellis avatar alexellis commented on May 12, 2024

Hi @kinghuang,

Thanks for opening this issue. I'd like to understand your use-case a little more.

In terms of two making FaaS gateways available - have you tried deploying individual stacks on separate networks? Can you share your YAML file with me?

# docker stack deploy pipeline1 -c ./stack1.yml
# docker stack deploy pipeline2 -c ./stack2.yml

from faas.

alexellis avatar alexellis commented on May 12, 2024

I could reproduce the issue with the steps above. Both gateways saw the functions from either stack.

How would you propose injecting the unique network name / namespace into the gateway process/container?

from faas.

alexellis avatar alexellis commented on May 12, 2024

You can use this test implementation - and provide a stack_namespace environmental variable to your gateways. This will filter your functions to only the gateway / stack they belong to.

https://github.com/alexellis/faas/compare/filter_networks?expand=1

from faas.

alexellis avatar alexellis commented on May 12, 2024

@kinghuang please can you give feedback on above?

from faas.

kinghuang avatar kinghuang commented on May 12, 2024

@alexellis Sorry again to take so long. I'm finally ready to take a look at this, but it looks like the filter_networks branch is gone. Any chance you can push that back up and I'll review it right away? Thanks.

from faas.

alexellis avatar alexellis commented on May 12, 2024

We're talking about an issue opened in April.. so I think I pruned it. The branch should be there again now thanks for looking 👍

from faas.

kinghuang avatar kinghuang commented on May 12, 2024

Thanks. I don't see it on GitHub, yet. Mind double-checking the branch?

from faas.

kinghuang avatar kinghuang commented on May 12, 2024

@alexellis I still don't see the branch. Considering how much development has happened since May, would it be better to just re-implement? If so, I will take that on.

from faas.

alexellis avatar alexellis commented on May 12, 2024

Sure. Please join us on Slack to coordinate - message [email protected]

from faas.

alexellis avatar alexellis commented on May 12, 2024

@kinghuang thanks for joining. Here is the branch - https://github.com/alexellis/faas/compare/filter_networks?expand=1

from faas.

alexellis avatar alexellis commented on May 12, 2024

Derek add label: priority/low

from faas.

Related Issues (20)

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.