minikube start

Starts a local Kubernetes cluster

Options

NameDescription
--addonsEnable addons. see `minikube addons list` for a list of valid addon names
--apiserver-ipsA set of apiserver IP Addresses which are used in the generated certificate for kubernetes
--apiserver-nameThe authoritative apiserver hostname for apiserver certificates and connectivity
--apiserver-namesA set of apiserver names which are used in the generated certificate for kubernetes
--apiserver-portThe apiserver listening port
--auto-update-drivers <arg>If set, automatically updates drivers to the latest version
--base-imageThe base image to use for docker/podman drivers. Intended for local development
--cache-imagesIf true, cache docker images for the current bootstrapper and load them into the machine
--cert-expirationDuration 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-socketThe cri socket path to be used
--delete-on-failure <arg>If set, delete the current cluster if start fails and try again
--disable-driver-mountsDisables the filesystem mounts provided by the hypervisors
--disk-sizeDisk size allocated to the minikube VM
--dns-domainThe cluster dns domain name used in the Kubernetes cluster
--dns-proxyEnable proxy for NAT DNS requests
--docker-envEnvironment variables to pass to the Docker daemon. (format: key=value)
--docker-optSpecify arbitrary flags to pass to the Docker daemon. (format: key=value)
--download-onlyIf true, only download and cache files for later use - don't install or start anything
--driver <driver>Choose driver
--dry-runDry-run mode. Validates configuration, but does not mutate system state
--embed-certs <arg>If true, will embed the certs in kubeconfig
--extra-configA set of key=value pairs that describe configuration that may be passed to different components
--extra-disksNumber of extra disks created and attached to the minikube VM
--feature-gatesA set of key=value pairs that describe feature gates for alpha/experimental features
--forceForce minikube to perform possibly dangerous operations
--force-systemd <arg>If set, force the container runtime to use systemd as cgroup manager
--host-dns-resolverEnable host resolver for NAT DNS requests
--host-only-cidrThe CIDR to be used for the minikube VM
--host-only-nic-type <nic type>NIC Type used for host only network
--hyperkit-vpnkit-sockLocation of the VPNKit socket used for networking
--hyperkit-vsock-portsList of guest VSock ports that should be exposed as sockets on the host
--hyperv-external-adapterExternal Adapter on which external switch will be created if no external switch is found
--hyperv-use-external-switchWhether to use external switch over Default Switch if virtual switch not explicitly specified
--hyperv-virtual-switchThe hyperv virtual switch name. Defaults to first found
--image-mirror-countryCountry code of the image mirror to be used
--image-repositoryAlternative image repository to pull docker images from
--insecure-registryInsecure Docker registries to pass to the Docker daemon
--install-addons <arg>If set, install addons. Defaults to true
--interactiveAllow user prompts for more information
--iso-urlLocations to fetch the minikube ISO from
--keep-contextThis will keep the existing kubectl context and will create a minikube context
--kubernetes-versionThe Kubernetes version that the minikube VM will use
--kvm-gpuEnable experimental NVIDIA GPU support in minikube
--kvm-hiddenHide the hypervisor signature from the guest in minikube
--kvm-networkThe 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-uriThe KVM QEMU connection URI
--listen-addressIP Address to use to expose ports
--memoryAmount of RAM to allocate to Kubernetes
--mountThis will start the mount daemon and automatically mount files into minikube
--mount-stringThe argument to pass the minikube mount command on start
--namespaceThe named space to activate after start
--nat-nic-typeNIC Type used for nat network
--native-sshUse native Golang SSH client
--networkNetwork to run minikube with
--network-pluginKubelet network plug-in to use
--nfs-shareLocal folders to share with Guest via NFS mounts
--nfs-shares-rootWhere to root the NFS Shares
--no-kubernetesIf set, minikube VM/container will start without starting or configuring Kubernetes
--no-vtx-checkDisable checking for the availability of hardware virtualization before the vm is started
--nodes, -nThe number of nodes to spin up
--output, -o <format>Format to print stdout in
--portsList of ports that should be exposed
--preload <arg>If set, download tarball of preloaded images if available to improve start time
--registry-mirrorRegistry mirrors to pass to the Docker daemon
--service-cluster-ip-rangeThe CIDR to be used for service cluster IPs
--ssh-ip-addressIP address
--ssh-keySSH key
--ssh-portSSH port
--ssh-userSSH user
--trace <trace>Send trace events
--uuidProvide VM UUID to restore MAC address
--vmFilter to use only VM Drivers
--waitComma separated list of Kubernetes components to verify and wait for after starting a cluster
--wait-timeoutMax time to wait per Kubernetes or host to be healthy