CLI reference#
mkectl#
You use the mkectl command line tool to manage Mirantis Kubernetes Engine 4 (MKE
4) clusters. It handles the full lifecycle of an MKE 4 deployment against the
declarative mke4.yaml configuration file that describes the desired state of
the cluster. mkectl apply is the primary operation, which you run to install a
new cluster and run again whenever you make a change to the configuration file
to reconcile the live cluster to the new desired state.
Synopsis#
mkectl <command> [flags]
Options#
-f, --file string path to the config file. Not needed for restore where config is loaded from the backup (default "mke4.yaml")
-h, --help help for mkectl
--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