Skip to content

Using Open FaaS framework to build your own serverless functions using Docker and Kubernetes

Notifications You must be signed in to change notification settings

Arihant1467/python-faas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Python-FaaS(Function as a Service)

Using Open FaaS framework to build your own serverless functions using Docker and Kubernetes

How to run

$ faas-cli build -f ./hello-python.yml
...

Successfully tagged hello-python:latest
Image: hello-python built.

$ docker images | grep hello-python
hello-python        latest       e0344b26305f     one minute ago

faas-cli push -f ./hello-python.yml

$ faas-cli deploy -f ./hello-python.yml
Deploying: hello-python.
No existing service to remove
Deployed.
200 OK
URL: http://127.0.0.1:8080/function/hello-python

$ curl 127.0.0.1:8080/function/hello-python -d "it's Alex here"
Hello! You said: its Alex here

Reference

Open FaaS

About

Using Open FaaS framework to build your own serverless functions using Docker and Kubernetes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages