Provide pre and post reboot hooks for Traefik, that can be used to remove/add to an external load balancer to prevent requests from being sent during the reboot. Works best with the --rolling setting, where each hook is called once per host.
4 lines
55 B
Bash
Executable File
4 lines
55 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Rebooting Traefik on $KAMAL_HOSTS..."
|