File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1414
15152 . Run ` ./setup-multicloud.sh ` (takes ~ 20 minutes)
1616 - Step 1 will have put you in the appropriate ` .../microservices-datadriven/grabdish ` dir.
17+ - Takes CLUSTER_NAME as an argument
1718 - This will install verrazzano, deploy workshop microservices, and provide URLs for
1819 - Grafana
1920 - Prometheus
Original file line number Diff line number Diff line change 33# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
55# The following setup and install of Verrazzano is taken directly from https://verrazzano.io/docs/setup/quickstart/
6+ if [[ $1 == " " ]]
7+ then
8+ echo CLUSTER_NAME argument not provided
9+ echo This can be found in the ~ ./kube/config file
10+ echo Usage example : ./setup-multicloud.sh cluster-cyxypetwerq
11+ exit
12+ fi
613
714echo Setting up Verrazzano...
815echo Deploying the Verrazzano platform operator...
@@ -44,8 +51,8 @@ echo Adding labels identifying the msdataworkshop namespace as managed by Verraz
4451kubectl label namespace msdataworkshop verrazzano-managed=true istio-injection=enabled
4552
4653echo Adding VerrazzanoProject
47- # export CLUSTERS_NAME="$(state_get OCI_REGION)"
48- export CLUSTERS_NAME=" $( state_get CLUSTER_NAME ) " # eg cluster-cyxypetwerq, also notice the plural/CLUSTERS_NAME and singular/CLUSTER_NAME
54+ # export CLUSTERS_NAME="$(state_get CLUSTER_NAME)" # eg cluster-cyxypetwerq, also notice the plural/CLUSTERS_NAME and singular/CLUSTER_NAME
55+ export CLUSTERS_NAME=$1
4956export CURRENTTIME=$( date ' +%F_%H:%M:%S' )
5057echo CURRENTTIME is $CURRENTTIME ...this will be appended to generated verrazzano-project yaml for CLUSTERS_NAME ${CLUSTERS_NAME}
5158cp verrazzano-project.yaml verrazzano-project-$CURRENTTIME .yaml
You can’t perform that action at this time.
0 commit comments