I’ve been a happy syncthing user for many years, but I seem to be having problems getting it going on Kubernetes. I’m using the official syncthing image from https://hub.docker.com/r/syncthing/syncthing.
Being in a kubernetes/container environment, I need to get it running with the correct options at startup - reconfiguring on-the-fly is not an option. I’m pretty sure I need to set the gui-address to 0.0.0.0 to make it available as a service in kubernetes, but this doesn’t seem to be working.
I can put my kubernetes manifests here if required, but I think it would be more useful to show what’s running. I set the
gui address option to
-gui-address=0.0.0.0:8384 and start the container, but when I look at the startup logs, I see
[M2UQ3] 12:40:37 INFO: Access the GUI via the following URL: http://127.0.0.1:8384/
Looking at the
config.xml, I can also see that it seems to be set to localhost:
<gui enabled="true" tls="false" debugging="false"> <address>127.0.0.1:8384</address> ........ </gui>
…and finally, looking at the process table of the running container, I see:
PID USER TIME COMMAND 1 1000 0:00 /bin/syncthing -home /var/syncthing/config -verbose -gui-address=0.0.0.0:8384
…which seems to suggest that syncthing has received the relevant startup config.
Any idea what might be happening here…?