Created
July 26, 2019 17:15
-
-
Save jcrossley3/d2fb98c60336c2f3b4d96da30ecd9a99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.12.0} | |
MEMORY=${MEMORY:-10240} | |
CPUS=${CPUS:-4} | |
DISK_SIZE=${DISK_SIZE:-50g} | |
VM_DRIVER=${VM_DRIVER:-$(minikube config get vm-driver 2>/dev/null || echo "virtualbox")} | |
# configure knative profile | |
minikube profile knative | |
minikube config set kubernetes-version ${KUBERNETES_VERSION} | |
minikube config set memory ${MEMORY} | |
minikube config set cpus ${CPUS} | |
minikube config set disk-size ${DISK_SIZE} | |
minikube config set vm-driver ${VM_DRIVER} | |
# blow away everything in the knative profile | |
minikube delete | |
# Start minikube | |
minikube start -p knative --extra-config=apiserver.enable-admission-plugins="LimitRanger,NamespaceExists,NamespaceLifecycle,ResourceQuota,ServiceAccount,DefaultStorageClass,MutatingAdmissionWebhook" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment