You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment/kubernetes.md
+23-10Lines changed: 23 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,31 +201,44 @@ You can run these commands on your computer if you have `kubectl` and `KUBECONFI
201
201
202
202
Use `arkade` to install OpenFaaS, it will determine the correct files to use to install OpenFaaS.
203
203
204
-
For a complete tutorial on setting up OpenFaaSfor 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:
205
205
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)
207
208
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.
209
210
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`
211
214
* But you must build Docker images on a Raspberry Pi, not on your PC or laptop.
212
-
* You need to use an `-armhf` template
213
215
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
+
```
215
222
216
223
#### 64-bit ARM and AWS Graviton
217
224
218
225
For 64-bit ARM servers and devices such as ODroid-C2, Rock64, AWS Graviton and the servers provided by [Packet.net](https://packet.net/).
219
226
220
227
Use `arkade` to install OpenFaaS, it will determine the correct files to use to install OpenFaaS.
221
228
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.
223
230
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`
225
234
* But you must build Docker images on a Raspberry Pi, not on your PC or laptop.
226
-
* You need to use an `-arm64` template
227
235
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`
0 commit comments