serverless / serverless-kubeless

This plugin enables support for Kubeless within the Serverless Framework.
Apache License 2.0
303 stars 81 forks source link

python requirements.txt #91

Closed skunkwerk closed 6 years ago

skunkwerk commented 6 years ago

How do I pass the requirements.txt via serverless to kubeless? Can I install Python modules with native dependencies, like psycopg2?

skunkwerk commented 6 years ago

The answer seems to be 'yes', but isn't documented.

vishweshwarp commented 6 years ago

@skunkwerk were you able to deploy your functions having dependencies defined in requirements.txt?

Do you have any working example? I am facing issue #97

chipironcin commented 6 years ago

Hello :wave:

Our documentation does need some improvements.

In the following incubator function you can find an example of using requirements.txt and Python: https://github.com/kubeless/functions/blob/master/incubator/kafka-connect/README.md#user-content-1-deploy

Our team will look at this soon and will be able to answer the question in a more concise way and document what is missing.

andresmgot commented 6 years ago

Documentation updates has been merged in https://github.com/serverless/serverless/pull/4666

It will appear in the serverless docs site soon. Let us known if anything else requires further explanation.