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
For example, if you wanted the env and nodeinfo functions from the OpenFaaS Store, create a file and run:
57
+
58
+
```bash
59
+
cat > stack.yaml <<EOF
60
+
provider:
61
+
name: openfaas
62
+
63
+
functions:
64
+
env:
65
+
image: ghcr.io/openfaas/alpine:latest
66
+
fprocess: env
67
+
skip_build: true
68
+
nodeinfo:
69
+
image: ghcr.io/openfaas/nodeinfo:latest
70
+
skip_build: true
71
+
EOF
72
+
```
73
+
74
+
Then run the command to download the images as per above.
75
+
56
76
## Transfer the images
57
77
58
78
Transfer the `./images` directory to the air-gapped machine using your preferred method. This could be a USB drive, SCP, rsync, or any other method you prefer.
If you wish to obtain a specific version of the RPM, update the tag from `:latest` to i.e. `:0.2.18`. Browse available versions via `crane ls ghcr.io/openfaasltd/faasd-pro-rpm`.
162
182
163
-
Then copy all `openfaas-edge-*.rpm` files to the air-gapped machine, and run:
183
+
Then copy all `openfaas-edge-*.rpm` files to the air-gapped machine.
164
184
165
185
Before installing OpenFaaS Edge ensure all other required packages are installed on the air-gapped system:
166
186
167
187
```sh
168
188
sudo dnf install runc iptables-services
169
189
```
170
190
191
+
If you have no way to source the required packages in the offline environment, you can download them on the online machine with:
0 commit comments