kuberneteskubernetes-helmopenfaas

Installing OpenFaas on local Kubernetes cluster


so I'm attempting to install OpenFaaS on a local Kubernetes cluster made with Docker Desktop. I'm brand new to both OpenFaaS and Kubernetes so any help is appreciated!

I'm following the interactive tutorial here.

I have installed Helm, the OpenFaaS Cli, FaaS-netes, and followed everything in this tutorial up to page 4. On that page I am told to run this:

helm upgrade openfaas --install openfaas/openfaas --namespace openfaas --set functionNamespace=openfaas-fn --set operator.create=true --set basic_auth=true --set rbac=false --set faasIdler.dryRun=false --set faasIdler.inactivityDuration=10s

When I run that I get this error:

UPGRADE FAILED
Error: "openfaas" has no deployed releases
Error: UPGRADE FAILED: "openfaas" has no deployed releases

I'm really lost at what I am supposed to do here. Did I miss a step in the tutorial? How do I deploy a release?

Any help would be really appreciated.


Solution

  • To fix this, delete the openfaas entry from helm using helm del —purge and try remaking it. Everything worked the second try.