ClusterKey[]byte`id:"cluster-key" desc:"shared key for cluster membership; must be 32 bytes base64 encoded; will be generated if not provided"`
Join[]string`desc:"comma separated list of hostnames or IP addresses to existing cluster members; if not provided, will attempt resuming any known state or otherwise wait for further members."`
Rejoinint`desc:"interval at which join nodes are joined again if away, 0 disables rejoining altogether" default:"0"`
Initbool`desc:"whether to explicitly (re)initialize the cluster; any known state from previous runs will be forgotten"`
BindAddrstring`id:"bind-addr" desc:"IP address to bind to for cluster membership traffic (cannot be used with --bind-iface)"`
BindIfacestring`id:"bind-iface" desc:"Interface to bind to for cluster membership traffic (cannot be used with --bind-addr)"`
ClusterPortint`id:"cluster-port" desc:"port used for membership gossip traffic (both TCP and UDP); must be the same across cluster" default:"7946"`
WireguardPortint`id:"wireguard-port" desc:"port used for wireguard traffic (UDP); must be the same across cluster" default:"51820"`
BaseMtuint`id:"mtu" desc:"MTU of the underlying network, taking intermediary hops into account" default:"1500"`
OverlayNet*network`id:"overlay-net" desc:"the network in which to allocate addresses for the overlay mesh network (CIDR format); smaller networks increase the chance of IP collision" default:"10.0.0.0/8"`
RoutedNet*network`id:"routed-net" desc:"network used to filter routes that nodes are allowed to announce (CIDR format)" default:"0.0.0.0/32"`
Interfacestring`desc:"name of the wireguard interface to create and manage" default:"wgoverlay"`
NoEtcHostsbool`id:"no-etc-hosts" desc:"disable writing of entries to /etc/hosts"`
LogLevelstring`id:"log-level" desc:"set the verbosity (debug/info/warn/error)" default:"warn"`
Versionbool`desc:"display current version and exit"`
KeepaliveIntervalstring`id:"keepalive-interval" desc:"interval for which to send keepalive packets" default:"30s"`