Skip to main content
Version: v4

dkron leave

dkron leave

Force an agent to leave the cluster


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]


      --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 "")
      --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)


  • dkron - Professional distributed job scheduling system
Auto generated by spf13/cobra on 2-Sep-2023