Skip to content

refunc/lambda-python3.7-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda-python3.7-example

Example of lambda 3.7 runtime and function

lambda_function.py was copied from lambci/examples/python/lambda_function.py

Quick start

Ensure refunc is installed

for playing in dev cluster (eg. minikube), install mini refunc in refunc-play namespace

docker run --rm -it -e REFUNC_ENV=cluster refunc/refunc refunc play gen -n refunc-play | kubectl apply -f - && kubectl get all -n refunc-play

Create Xenv and function

kubectl create -f . -n refunc-play