Last active
October 6, 2018 04:59
-
-
Save kameshsampath/0c9c3ffe3934e3a38bd324d64c03de0e to your computer and use it in GitHub Desktop.
Commands required to setup minishift profile for Istio
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
#!/bin/bash | |
set -e | |
# Create a profile called "servicemesh" | |
minishift profile set servicemesh | |
# give the profile 8GB of memory | |
minishift config set memory 8GB | |
# give the profile 4 CPU | |
minishift config set cpus 4 | |
# adding container image caching to allow faster profile setup | |
minishift config set image-caching true | |
# pinning OpenShift version to be 3.10.0 | |
minishift config set openshift-version v3.10.0 | |
# Add a user with cluster-admin role | |
minishift addon enable admin-user | |
# Allows to run containers with uid 0 on Openshift | |
minishift addon enable anyuid | |
# start the profile | |
minishift start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment