minikube start
Starts a local Kubernetes cluster
Options
Name | Description |
---|---|
--addons | Enable addons. see `minikube addons list` for a list of valid addon names |
--apiserver-ips | A set of apiserver IP Addresses which are used in the generated certificate for kubernetes |
--apiserver-name | The authoritative apiserver hostname for apiserver certificates and connectivity |
--apiserver-names | A set of apiserver names which are used in the generated certificate for kubernetes |
--apiserver-port | The apiserver listening port |
--auto-update-drivers <arg> | If set, automatically updates drivers to the latest version |
--base-image | The base image to use for docker/podman drivers. Intended for local development |
--cache-images | If true, cache docker images for the current bootstrapper and load them into the machine |
--cert-expiration | Duration until minikube certificate expiration |
--cni <cni-plugin> | CNI plug-in to use |
--container-runtime <container-runtime> | The container runtime to be used |
--cpus <cpu number> | Number of CPUs allocated to Kubernetes |
--cri-socket | The cri socket path to be used |
--delete-on-failure <arg> | If set, delete the current cluster if start fails and try again |
--disable-driver-mounts | Disables the filesystem mounts provided by the hypervisors |
--disk-size | Disk size allocated to the minikube VM |
--dns-domain | The cluster dns domain name used in the Kubernetes cluster |
--dns-proxy | Enable proxy for NAT DNS requests |
--docker-env | Environment variables to pass to the Docker daemon. (format: key=value) |
--docker-opt | Specify arbitrary flags to pass to the Docker daemon. (format: key=value) |
--download-only | If true, only download and cache files for later use - don't install or start anything |
--driver <driver> | Choose driver |
--dry-run | Dry-run mode. Validates configuration, but does not mutate system state |
--embed-certs <arg> | If true, will embed the certs in kubeconfig |
--extra-config | A set of key=value pairs that describe configuration that may be passed to different components |
--extra-disks | Number of extra disks created and attached to the minikube VM |
--feature-gates | A set of key=value pairs that describe feature gates for alpha/experimental features |
--force | Force minikube to perform possibly dangerous operations |
--force-systemd <arg> | If set, force the container runtime to use systemd as cgroup manager |
--host-dns-resolver | Enable host resolver for NAT DNS requests |
--host-only-cidr | The CIDR to be used for the minikube VM |
--host-only-nic-type <nic type> | NIC Type used for host only network |
--hyperkit-vpnkit-sock | Location of the VPNKit socket used for networking |
--hyperkit-vsock-ports | List of guest VSock ports that should be exposed as sockets on the host |
--hyperv-external-adapter | External Adapter on which external switch will be created if no external switch is found |
--hyperv-use-external-switch | Whether to use external switch over Default Switch if virtual switch not explicitly specified |
--hyperv-virtual-switch | The hyperv virtual switch name. Defaults to first found |
--image-mirror-country | Country code of the image mirror to be used |
--image-repository | Alternative image repository to pull docker images from |
--insecure-registry | Insecure Docker registries to pass to the Docker daemon |
--install-addons <arg> | If set, install addons. Defaults to true |
--interactive | Allow user prompts for more information |
--iso-url | Locations to fetch the minikube ISO from |
--keep-context | This will keep the existing kubectl context and will create a minikube context |
--kubernetes-version | The Kubernetes version that the minikube VM will use |
--kvm-gpu | Enable experimental NVIDIA GPU support in minikube |
--kvm-hidden | Hide the hypervisor signature from the guest in minikube |
--kvm-network | The KVM default network name |
--kvm-numa-count <numa count> | Simulate numa node count in minikube, supported numa node count range is 1-8 |
--kvm-qemu-uri | The KVM QEMU connection URI |
--listen-address | IP Address to use to expose ports |
--memory | Amount of RAM to allocate to Kubernetes |
--mount | This will start the mount daemon and automatically mount files into minikube |
--mount-string | The argument to pass the minikube mount command on start |
--namespace | The named space to activate after start |
--nat-nic-type | NIC Type used for nat network |
--native-ssh | Use native Golang SSH client |
--network | Network to run minikube with |
--network-plugin | Kubelet network plug-in to use |
--nfs-share | Local folders to share with Guest via NFS mounts |
--nfs-shares-root | Where to root the NFS Shares |
--no-kubernetes | If set, minikube VM/container will start without starting or configuring Kubernetes |
--no-vtx-check | Disable checking for the availability of hardware virtualization before the vm is started |
--nodes, -n | The number of nodes to spin up |
--output, -o <format> | Format to print stdout in |
--ports | List of ports that should be exposed |
--preload <arg> | If set, download tarball of preloaded images if available to improve start time |
--registry-mirror | Registry mirrors to pass to the Docker daemon |
--service-cluster-ip-range | The CIDR to be used for service cluster IPs |
--ssh-ip-address | IP address |
--ssh-key | SSH key |
--ssh-port | SSH port |
--ssh-user | SSH user |
--trace <trace> | Send trace events |
--uuid | Provide VM UUID to restore MAC address |
--vm | Filter to use only VM Drivers |
--wait | Comma separated list of Kubernetes components to verify and wait for after starting a cluster |
--wait-timeout | Max time to wait per Kubernetes or host to be healthy |