# sealer apply

apply a Kubernetes cluster via specified Clusterfile

# Synopsis

apply command is used to apply a Kubernetes cluster via specified Clusterfile. If the Clusterfile is applied first time, Kubernetes cluster will be created. Otherwise, sealer will apply the diff change of current Clusterfile and the original one.

sealer apply [flags]

# Examples


  sealer apply -f Clusterfile

# Options

  -f, --Clusterfile string   Clusterfile path to apply a Kubernetes cluster
  -m, --applyMode string     load images to the specified registry in advance (default "apply")
      --force                force to delete the specified cluster if set true
  -h, --help                 help for apply

# Options inherited from parent commands

      --color string               set the log color mode, the possible values can be [never always] (default "always")
      --config string              config file of sealer tool (default is $HOME/.sealer.json)
  -d, --debug                      turn on debug mode
      --hide-path                  hide the log path
      --hide-time                  hide the log time
      --log-to-file                write log message to disk
  -q, --quiet                      silence the usage when fail
      --remote-logger-url string   remote logger url, if not empty, will send log to this url
      --task-name string           task name which will embedded in the remote logger header, only valid when --remote-logger-url is set

# SEE ALSO