# Addon:OpenFaaS

**URL:** <https://discuss.kubernetes.io/t/addon-openfaas/14981>\
**Category:** microk8s\
**Tags:** docs\
**Created:** [February 25, 2021, 10:23am UTC](https://discuss.kubernetes.io/t/addon-openfaas/14981 "2021-02-25T10:23:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjackal](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/kjackal/32/1750_2.png) [@kjackal](https://discuss.kubernetes.io/u/kjackal)\
**Post date:** [February 25, 2021, 10:23am UTC](https://discuss.kubernetes.io/t/addon-openfaas/14981/1 "2021-02-25T10:23:27Z")

</div>

Homepage: **[https://www.openfaas.com/](https://www.openfaas.com/)**  
From MicroK8s version: **1.21+**  
Supported arch: **amd64**

[OpenFaaS](https://www.openfaas.com/), the popular serverless framework, can be enabled with:

```auto
microk8s enable openfaas

```

Disable basic auth using the `--no-auth` flag.  
If you would like to use the OpenFaaS Operator mode, use `--operator` .

Further customize the installation by passing a values file using

```auto
microk8s enable openfaas -f values.yaml

```

The possible values are documented [here](https://github.com/openfaas/faas-netes/tree/master/chart/openfaas#configuration).

---

<div class="post-metadata">

**Author:** ![dsbibby](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/dsbibby/32/8184_2.png) [@dsbibby](https://discuss.kubernetes.io/u/dsbibby)\
**Post date:** [July 21, 2021, 11:23am UTC](https://discuss.kubernetes.io/t/addon-openfaas/14981/2 "2021-07-21T11:23:26Z")

</div>

Hi,

The documentation here for passing a values file is incorrect - the correct example should be either:  
`microk8s enable openfaas -f=values.yaml`  
and/or:  
`microk8s enable openfaas --values=values.yaml`

Additionally it took me some tinkering to understand what options should be defined in the `values.yaml` file until I discovered I could do `microk8s helm3 show values openfaas/openfaas` - maybe this could be added too?

Many thanks,  
David

---

<div class="post-metadata">

**Author:** ![calderonth](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/calderonth/32/8574_2.png) [@calderonth](https://discuss.kubernetes.io/u/calderonth)\
**Post date:** [September 15, 2021, 1:17pm UTC](https://discuss.kubernetes.io/t/addon-openfaas/14981/3 "2021-09-15T13:17:58Z")

</div>

Hey there,

Is there a reason why the addons doesn’t isn’t enabled/would not work for arm64 ?

I believe OpenFaas does support natively arm64.

Thanks

---

<div class="post-metadata">

**Author:** ![balchua1](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/balchua1/32/5372_2.png) [@balchua1](https://discuss.kubernetes.io/u/balchua1)\
**Post date:** [September 15, 2021, 1:47pm UTC](https://discuss.kubernetes.io/t/addon-openfaas/14981/4 "2021-09-15T13:47:36Z")

</div>

The only reason i can think of is it wasn’t tested.

---

<div class="post-metadata">

**Author:** ![calderonth](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/calderonth/32/8574_2.png) [@calderonth](https://discuss.kubernetes.io/u/calderonth)\
**Post date:** [September 16, 2021, 10:25am UTC](https://discuss.kubernetes.io/t/addon-openfaas/14981/5 "2021-09-16T10:25:22Z")

</div>

Is there a way I can locally build the snap and test it?

Is it as simple as checking out the GH repo, making changes and I can recompile/build a snap file that I can install locally to test out?

---

<div class="post-metadata">

**Author:** ![balchua1](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/balchua1/32/5372_2.png) [@balchua1](https://discuss.kubernetes.io/u/balchua1)\
**Post date:** [September 16, 2021, 11:51am UTC](https://discuss.kubernetes.io/t/addon-openfaas/14981/6 "2021-09-16T11:51:15Z")

</div>

Yes you can build your own snap.

> <https://github.com/ubuntu/microk8s/blob/master/docs/build.md>

You need snapcraft installed and lxd tho
