Skip to content

Commit 71e0a20

Browse files
committed
Notes on upgrading images and edge itself
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 540b8eb commit 71e0a20

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

docs/deployment/edge.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,66 @@ sudo dnf install openfaas-edge-*.rpm
8888

8989
Note: additional packages may be required such as runc, iptables-services, selinux-policy, libselinux-utils, protobuf-c, and container-selinux.
9090

91+
### Upgrading OpenFaaS Edge
92+
93+
#### Upgrade the OpenFaaS Edge binary
94+
95+
The following will download the latest OpenFaaS Edge binary, and overwrite the one on the system:
96+
97+
```bash
98+
mkdir -p ./staging-area/
99+
arkade oci install --path ./staging-area/ ghcr.io/openfaasltd/faasd-pro:latest
100+
sudo systemctl stop faasd
101+
sudo systemctl stop faasd-provider
102+
103+
sudo cp ./staging-area/usr/local/bin/faasd /usr/local/bin/
104+
```
105+
106+
Then restart both services:
107+
108+
```bash
109+
sudo systemctl restart faasd
110+
sudo systemctl restart faasd-provider
111+
```
112+
113+
You can also perform a re-installation using your preferred method - bash script, RPM/Debian package. In this case, make sure you take a backup of your `docker-compose.yaml` file at `/var/lib/faasd/` in case it gets overwritten by the one shipping in the installation.
114+
115+
#### Upgrade container images
116+
117+
To upgrade the container images for the various data-plane components such as the gateway, queue-worker, cron-connector, nats and so forth run the following:
118+
119+
```bash
120+
$ sudo -i
121+
122+
# cd /var/lib/faasd/
123+
# cp ./docker-compose.yaml{,old}
124+
```
125+
126+
View upgrades without changing the file:
127+
128+
```bash
129+
$ arkade chart upgrade --verbose -f ./docker-compose.yaml
130+
131+
2025/09/03 09:48:17 Verifying images in: ./docker-compose.yaml
132+
2025/09/03 09:48:17 Found 7 images
133+
2025/09/03 09:48:18 [ghcr.io/openfaasltd/gateway] 0.5.0 => 0.5.1
134+
2025/09/03 09:48:18 [ghcr.io/openfaasltd/jetstream-queue-worker] 0.4.0 => 0.4.2
135+
2025/09/03 09:48:18 [ghcr.io/openfaasltd/openfaas-dashboard] 0.5.36 => 0.5.37
136+
2025/09/03 09:48:18 [docker.io/library/nats] 2.11.7 => 2.11.8
137+
```
138+
139+
Write changes to the file:
140+
141+
```bash
142+
$ arkade chart upgrade --verbose --write -f ./docker-compose.yaml
143+
```
144+
145+
Then restart the faasd service:
146+
147+
```bash
148+
sudo systemctl restart faasd
149+
```
150+
91151
## faasd CE (non-commercial use only)
92152

93153
faasd CE supports 15 functions and needs a computer with a stable Internet connection to run. There are restrictions on commercial use, but [individuals](https://github.com/openfaas/faasd/blob/master/EULA.md) can use it for free for personal, non-commercial use.

0 commit comments

Comments
 (0)