cloudflare / cloudflared

Cloudflare Tunnel client (formerly Argo Tunnel)

Home Page:https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

upgrade

bezi18 opened this issue · comments

Hello
How can I update the installed version of the tunnel?

How did you install it? Depends on the installation method.

mkdir Argo && cd Argo

wget https://github.com/cloudflare/cloudflared/releases/download/2023.10.0/cloudflared-linux-amd64 && chmod +x cloudflared-linux-amd64

./cloudflared-linux-amd64 tunnel login

./cloudflared-linux-amd64 tunnel create argo01

./cloudflared-linux-amd64 tunnel route dns argo01 your.subdomain.com

tmux

./cloudflared-linux-amd64 tunnel --url localhost:?? run argo01

Then you just need to download the new version in the same way.
I think it's also possible to to a rolling update and start the new one in addition and then stop the old one, but i've never tried that.

Yes, you can roll upgrade because cloudflared supports multiple replicas of the same tunnel, you just need to use the same token across all replicas. Regarding the way to upgrade, is what @sevensolutions said, since you didn't install it with any package manager, just download the most recent version and use the binary.