Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.3 KB

pro-quickstart.md

File metadata and controls

56 lines (43 loc) · 1.3 KB

OpenFaaS Pro quick-start for local development

kind create cluster --name pro
git clone https://github.com/openfaas/faas-netes --depth=1
cd faas-netes

kubectl apply -f namespaces.yml

kubectl create secret generic \
    -n openfaas \
    openfaas-license \
    --from-file license=$HOME/.openfaas/LICENSE

helm upgrade openfaas --install chart/openfaas \
    --namespace openfaas \
    --set functionNamespace=openfaas-fn \
    --set generateBasicAuth=true \
    -f ./chart/openfaas/values.yaml \
    -f ./chart/openfaas/values-pro.yaml \
    --set gateway.replicas=1 \
    --set queueWorker.replicas=1

Or install with dashboard:

helm upgrade openfaas --install chart/openfaas \
    --namespace openfaas \
    --set functionNamespace=openfaas-fn \
    --set generateBasicAuth=true \
    -f ./chart/openfaas/values.yaml \
    -f ./chart/openfaas/values-pro.yaml \
    --set gateway.replicas=1 \
    --set queueWorker.replicas=1 \
    --set dashboard.enabled=true \
    --set dashboard.publicURL=https://portal.exit.o6s.io

Confirm faas-netes and queue-worker versions are from ghcr.io/openfaasltd

Confirm that autoscaler is deployed.

kubectl -n openfaas get deployments -o wide

Confirm running in operator mode:

kubectl logs -n openfaas deploy/gateway -c operator