Skip to content

Commit d990cfb

Browse files
committed
Upate notes on armhf and arm64
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent e868efd commit d990cfb

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

docs/deployment/kubernetes.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -201,31 +201,44 @@ You can run these commands on your computer if you have `kubectl` and `KUBECONFI
201201

202202
Use `arkade` to install OpenFaaS, it will determine the correct files to use to install OpenFaaS.
203203

204-
For a complete tutorial on setting up OpenFaaS for Raspberry Pi / 32-bit ARM using Kubernetes see the following blog post from Alex Ellis: [Will it Cluster?](https://blog.alexellis.io/test-drive-k3s-on-raspberry-pi/).
204+
For a complete tutorial (including OpenFaaS) see:
205205

206-
Or watch Alex's live video [Kubernetes Homelab with Raspberry Pi and k3sup](https://blog.alexellis.io/raspberry-pi-homelab-with-k3sup/) for a complete walk-through.
206+
* Tutorial: [Walk-through — install Kubernetes to your Raspberry Pi in 15 minutes](https://medium.com/p/walk-through-install-kubernetes-to-your-raspberry-pi-in-15-minutes-84a8492dc95a)
207+
* Video: [Kubernetes Homelab with Raspberry Pi 4](https://www.youtube.com/watch?v=qsy1Gwa-J5o)
207208

208-
When creating new functions please use the templates with a suffix of `-armhf` such as `go-armhf` and `python-armhf` to ensure you get the correct versions for your devices.
209+
When creating new functions you will need to run the build on an armhf host.
209210

210-
* You can run `faas-cli deploy` from anywhere using `--gateway` or `OPENFAAS_GATEWAY`
211+
> Note: expert users can create or use [multi-arch templates](https://github.com/alexellis/multiarch-templates) which can build on a PC and deploy to an armhf host.
212+
213+
* You can run `faas-cli deploy` from any computer using `--gateway` or `OPENFAAS_GATEWAY`
211214
* But you must build Docker images on a Raspberry Pi, not on your PC or laptop.
212-
* You need to use an `-armhf` template
213215

214-
> Note: you cannot deploy the sample functions to ARM devices, but you can use the function store in the gateway UI or via `faas-cli store list --yaml https://raw.githubusercontent.com/openfaas/store/master/store-armhf.json`
216+
For the Function Store, use the following:
217+
218+
```bash
219+
faas-cli store list --platform armhf
220+
faas-cli store deploy NAME
221+
```
215222

216223
#### 64-bit ARM and AWS Graviton
217224

218225
For 64-bit ARM servers and devices such as ODroid-C2, Rock64, AWS Graviton and the servers provided by [Packet.net](https://packet.net/).
219226

220227
Use `arkade` to install OpenFaaS, it will determine the correct files to use to install OpenFaaS.
221228

222-
When creating new functions please use the templates with a suffix of `-arm64` such as `node-arm64` to ensure you get the correct versions for your devices.
229+
When creating new functions you will need to run the build on an ARM64 node.
223230

224-
* You can run `faas-cli deploy` from anywhere using `--gateway` or `OPENFAAS_GATEWAY`
231+
> Note: expert users can create or use [multi-arch templates](https://github.com/alexellis/multiarch-templates) which can build on a PC and deploy to an ARM64 node.
232+
233+
* You can run `faas-cli deploy` from any computer using `--gateway` or `OPENFAAS_GATEWAY`
225234
* But you must build Docker images on a Raspberry Pi, not on your PC or laptop.
226-
* You need to use an `-arm64` template
227235

228-
> Note: you cannot deploy the sample functions to ARM64 devices, but you can use the function store in the gateway UI or via `faas-cli store list --yaml https://raw.githubusercontent.com/openfaas/store/master/store-arm64.json`
236+
For the Function Store, use the following:
237+
238+
```bash
239+
faas-cli store list --platform arm64
240+
faas-cli store deploy NAME
241+
```
229242

230243
#### Learn the OpenFaaS fundamentals
231244

0 commit comments

Comments
 (0)