cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

upgrade

Open bezi18 opened this issue 1 year ago • 1 comments

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

bezi18 avatar Feb 19 '24 09:02 bezi18

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

sevensolutions avatar Feb 22 '24 19:02 sevensolutions

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

bezi18 avatar Feb 24 '24 07:02 bezi18

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.

sevensolutions avatar Feb 24 '24 09:02 sevensolutions

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.

jcsf avatar Feb 29 '24 17:02 jcsf