dkron leave

dkron leave

Force an agent to leave the cluster

Synopsis

Stop stops an agent, if the agent is a server and is running for election stop running for election, if this server was the leader this will force the cluster to elect a new leader and start a new scheduler. If this is a server and has the scheduler started stop it, ignoring if this server was participating in leader election or not (local storage). Then actually leave the cluster.

dkron leave [flags]

Options

      --cert-file string         Path to the client server TLS cert file
  -h, --help                     help for leave
      --key-file string          Path to the client server TLS key file
      --rpc-addr string          gRPC address of the agent (default "127.0.0.1:6868")
      --trusted-ca-file string   Path to the client server TLS trusted CA cert file

Options inherited from parent commands

      --config string   config file (default is /etc/dkron/dkron.yml)

SEE ALSO

Auto generated by spf13/cobra on 26-Aug-2019