Open-func

module
v0.0.0-...-0257ec7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2021 License: MIT

README

Open-func

Open source runtime similar to AWS serverless lambda and Azure functions.

Prerequisites

  1. Kubernetes CLI
  2. Minikube
  3. Docker

Setup

minikube addons enable ingress - enables ingress for minikube

make build - builds server image in cluster

kubectl apply -f deployments/

Adding the example images to the cluster

eval $(minikube -p minikube docker-env) - has to be run in every new terminal window before you build an image inside the cluster. An alternative would be to put it into your .profile file.

docker build examples/<dockerfile-location> -t <image-name>

kubectl expose pod open-func-{PODS_ID} --type="NodePort" --port 8090 - extra debugging

Directories

Path Synopsis
cmd
pkg
k8s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL