Skip to content

mkectl reset

mkectl reset#

Reset a cluster to a clean state

mkectl reset [flags]

Options#

      --child-cluster-delete-timeout int   Timeout in minutes for waiting for child cluster deletion to complete (default 10)
      --concurrency int                    Maximum number of nodes to reset in parallel, set to 0 for unlimited (default 1)
      --force                              Bypass user confirmations. This will delete all resources without confirmation.
  -h, --help                               help for reset
      --lease-adopt-stale                  if true, matching stale lease would be adopted instead of failing with error
      --lease-renew-interval duration      lease renew interval for cluster-wide/node operations, should be < leaseTTL (default 1m0s)
      --lease-ttl duration                 lease TTL for cluster-wide/node operations (default 3m0s)
      --reset-timeout-minutes int          Use specified timeout (in minutes) around the entirety of reset (default 20)

Options inherited from parent commands#

  -f, --file string              path to the config file. Not needed for restore where config is loaded from the backup (default "mke4.yaml")
      --kubeconfig string        path to the kubeconfig file of the existing or restored cluster. DO NOT USE when creating a new cluster (default "/home/runner/.mke/mke.kubeconf")
  -l, --logLevel string          specify a log level (info, warn, debug, trace, error) (default "info")
      --no-color                 when provided, disables colored output
      --no-pretty-print          when provided, disables pretty print output formatting
      --version version[=true]   --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version