MTI TEK
  • Home
  • LLMs
  • Docker
  • Kubernetes
  • Java
  • All
Kubernetes | minikube Command-line interface (CLI)
  1. minikube CLI
  2. minikube: Usage
  3. minikube: Options
  4. Basic Commands
  5. Images Commands
  6. Configuration and Management Commands
  7. Networking and Connectivity Commands
  8. Advanced Commands
  9. Troubleshooting Commands
  10. Other Commands

  1. minikube CLI
    minikube provisions and manages local Kubernetes clusters.
    To list minikube options and commands, type: minikube --help
    To print information about a specific minikube command, type: minikube COMMAND --help
    To print the list of minikube global command-line options (applies to all commands), type: minikube options
  2. minikube: Usage
    Usage: minikube [OPTIONS] COMMAND [ARG...]
  3. minikube: Options
    The following options can be passed to any command:
    $ minikube options
    -p, --profile='minikube': The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently.
    
    -b, --bootstrapper='kubeadm': The name of the cluster bootstrapper that will set up the Kubernetes cluster.
    
    -v, --v=0: log level for V logs
        --log_dir='': If non-empty, write log files in this directory
        --logtostderr=false: log to standard error instead of files
        --alsologtostderr=false: log to standard error as well as files
        --log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
        --stderrthreshold=2: logs at or above this threshold go to stderr
    
        --vmodule=: comma-separated list of pattern=N settings for file-filtered logging
  4. Basic Commands
    start          Starts a local Kubernetes cluster
    stop           Stops a running local Kubernetes cluster
    pause          pause Kubernetes
    unpause        unpause Kubernetes
    
    status         Gets the status of a local Kubernetes cluster
    
    delete         Deletes a local Kubernetes cluster
    
    dashboard      Access the Kubernetes dashboard running within the minikube cluster
  5. Images Commands
    docker-env     Configure environment to use minikube's Docker daemon
    podman-env     Configure environment to use minikube's Podman service
    cache          Add, delete, or push a local image into minikube
  6. Configuration and Management Commands
    addons         Enable or disable a minikube addon
    config         Modify persistent configuration values
    profile        Get or list the the current profiles (clusters)
    update-context Update kubeconfig in case of an IP or port change
  7. Networking and Connectivity Commands
    service        Returns a URL to connect to a service
    tunnel         Connect to LoadBalancer services
  8. Advanced Commands
    mount          Mounts the specified directory into minikube
    ssh            Log into the minikube environment (for debugging)
    kubectl        Run a kubectl binary matching the cluster version
    node           Add, remove, or list additional nodes
  9. Troubleshooting Commands
    ssh-key        Retrieve the ssh identity key path of the specified cluster
    ip             Retrieves the IP address of the running cluster
    logs           Returns logs to debug a local Kubernetes cluster
    update-check   Print current and latest version number
    version        Print the version of minikube
  10. Other Commands
    completion     Generate command completion for a shell
© 2025 mtitek
About