Created
July 27, 2020 14:33
-
-
Save kameshsampath/d3c7c4c72ea9bf27e73f21cdc1d7492c to your computer and use it in GitHub Desktop.
Start Minikube with some extra configs
This file contains hidden or 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
#!/usr/bin/env bash | |
set -eu | |
PROFILE_NAME=${PROFILE_NAME:-bgcdemo} | |
MEMORY=${MEMORY:-8192} | |
CPUS=${CPUS:-4} | |
# Enable if you are going to use Tekton with Knative | |
EXTRA_CONFIG="apiserver.enable-admission-plugins=\ | |
LimitRanger,\ | |
NamespaceExists,\ | |
NamespaceLifecycle,\ | |
ResourceQuota,\ | |
ServiceAccount,\ | |
DefaultStorageClass,\ | |
MutatingAdmissionWebhook" | |
minikube start -p $PROFILE_NAME \ | |
--memory=$MEMORY --cpus=$CPUS \ | |
--disk-size=50g \ | |
--insecure-registry='10.0.0.0/24' | |
minikube profile $PROFILE_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment