Skip to content

Instantly share code, notes, and snippets.

@kameshsampath
Created July 27, 2020 14:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kameshsampath/d3c7c4c72ea9bf27e73f21cdc1d7492c to your computer and use it in GitHub Desktop.
Save kameshsampath/d3c7c4c72ea9bf27e73f21cdc1d7492c to your computer and use it in GitHub Desktop.
Start Minikube with some extra configs
#!/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