Minikube

Follow these instructions to prepare Minikube for Istio.

  1. To run Istio locally, install the latest version of Minikube, version 0.28.0 or later.

  2. Select a VM driver and substitute your_vm_driver_choice below with the installed virtual machine (VM) driver. To install Istio control plane components and addons, as well as other applications, we recommend starting Minikube with 8192 MB of memory and 4 CPUs:

    On Kubernetes 1.9:

    $ minikube start --memory=8192 --cpus=4 --kubernetes-version=v1.9.4 \
        --extra-config=controller-manager.cluster-signing-cert-file="/var/lib/localkube/certs/ca.crt" \
        --extra-config=controller-manager.cluster-signing-key-file="/var/lib/localkube/certs/ca.key" \
        --extra-config=apiserver.admission-control="NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" \
        --vm-driver=`your_vm_driver_choice`

    On Kubernetes 1.10:

    $ minikube start --memory=8192 --cpus=4 --kubernetes-version=v1.10.0 \
        --extra-config=controller-manager.cluster-signing-cert-file="/var/lib/localkube/certs/ca.crt" \
        --extra-config=controller-manager.cluster-signing-key-file="/var/lib/localkube/certs/ca.key" \
        --vm-driver=`your_vm_driver_choice`