This is created in your home directory under
~/.minikube/machines/minikube/
.
--kubernetes-version string
: The Kubernetes version that the minikube VM will use (e.g.,
v1.2.3
).
--registry-mirror stringSlice
: Registry mirrors to pass to the Docker daemon.
Changing these values in a second
start
command, requires to first delete
the existing instance with
minikube delete
, or manually you can alter the
properties with VirtualBox Manager.
Once you have all the tools installed and configured, starting at stopping minikube
can be done with:
minikube start --cpus 4 --memory 10240
This command should output something similar to:
Starting local Kubernetes v1.7.0 cluster...
Starting VM...
Downloading Minikube ISO
97.80 MB / 97.80 MB [==============================================] 100.00% 0s
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Starting cluster components...
Connecting to cluster...
Setting up kubeconfig...
Kubectl is now configured to use the cluster.
[helm.gitlab.io]$ minikube ip
192.168.99.100
[helm.gitlab.io]$ minikube stop
Stopping local Kubernetes cluster...
Machine stopped.
Take note of the result from running the
minikube ip
command. If the output is not
192.168.99.100
, the output IP will be needed later.
minikube supports
PersistentVolumes
of the
hostPath
type, which are mapped to directories inside the VM. As minikube
boots into a
tmpfs
, most directories will not persist across reboots via
minikube stop
.
View pricing
to see all GitLab tiers and features, or to upgrade. Try GitLab for free
with access to all features for 30 days.
Get Help
If you didn't find what you were looking for,
search the docs.
If you want help with something specific and could use community support,
post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab
subscription).