Giter Club home page Giter Club logo

Comments (12)

ivanayov avatar ivanayov commented on May 5, 2024

I can work on this

from faas-provider.

alexellis avatar alexellis commented on May 5, 2024

This is a very big task. Do you think there is a part up you could without committing to it all?

from faas-provider.

alexellis avatar alexellis commented on May 5, 2024

Derek add label: size/xxl

from faas-provider.

ivanayov avatar ivanayov commented on May 5, 2024

As a start point I can move faas-swarm proxy code here and test on Swarm with faas-provider.

After having this, the work can be separated on those steps/issues:

Step 2: Make refactoring to merge faas-netes and openfaas-operator proxy in a separate package and test both using faas-provider. This is before step 3, as they are similar and safer to merge together.

Step 3 (advanced): Make refactoring to merge swarm and kubernetes proxy

from faas-provider.

LucasRoesler avatar LucasRoesler commented on May 5, 2024

Derek assign: me

from faas-provider.

LucasRoesler avatar LucasRoesler commented on May 5, 2024

I noticed an implementation detail in faas-swarm, you can specifiy the function name via the X-Function header

https://github.com/openfaas/faas-swarm/blob/6c10aa50f711139ec79bffbe938b2e2d366e3dc1/handlers/proxy.go#L55

But this doesn't exist in either k8s implementation

https://github.com/openfaas/faas-netes/blob/5dadd402921554fd846be8fdd97cf79c9a7ad9fc/handlers/proxy.go#L21

I noticed in the faas repo that there is a test that notes the implementation is being deprecated

https://github.com/openfaas/faas/blob/28c9ccd0aa4f1de7b00e919b4d140fdd1eaf1aa7/gateway/tests/integration/routes_test.go#L106

Can I remove it from this implementation?

from faas-provider.

alexellis avatar alexellis commented on May 5, 2024

Hi @LucasRoesler I don't believe anyone is using X-Function, feel free to deprecate it and if we find it's important for users we can reinstate.

from faas-provider.

LucasRoesler avatar LucasRoesler commented on May 5, 2024

The X-Function behavior was removed #11

from faas-provider.

alexellis avatar alexellis commented on May 5, 2024

Can this issue be closed? @LucasRoesler

from faas-provider.

LucasRoesler avatar LucasRoesler commented on May 5, 2024

Unfortunately, no. This was applied two faas-swarm in openfaas/faas-swarm#39

But faas-netes is not using the faas-provider proxy yet

from faas-provider.

alexellis avatar alexellis commented on May 5, 2024

How are we doing with this now? @LucasRoesler

from faas-provider.

LucasRoesler avatar LucasRoesler commented on May 5, 2024

faas-netes now uses the provider, as of this commit openfaas/faas-netes@c1ba865 4 months ago

the operator is using the provider as of this commit https://github.com/openfaas/openfaas-operator/commit/156e27eac06d1db38c977ddcb41de07f45453a17 2 months ago

I thinik this means we can close this

from faas-provider.

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.