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 14
14
15
15
2 . Run ` ./setup-multicloud.sh ` (takes ~ 20 minutes)
16
16
- Step 1 will have put you in the appropriate ` .../microservices-datadriven/grabdish ` dir.
17
+ - Takes CLUSTER_NAME as an argument
17
18
- This will install verrazzano, deploy workshop microservices, and provide URLs for
18
19
- Grafana
19
20
- Prometheus
Original file line number Diff line number Diff line change 3
3
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4
4
5
5
# 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
6
13
7
14
echo Setting up Verrazzano...
8
15
echo Deploying the Verrazzano platform operator...
@@ -44,8 +51,8 @@ echo Adding labels identifying the msdataworkshop namespace as managed by Verraz
44
51
kubectl label namespace msdataworkshop verrazzano-managed=true istio-injection=enabled
45
52
46
53
echo 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
49
56
export CURRENTTIME=$( date ' +%F_%H:%M:%S' )
50
57
echo CURRENTTIME is $CURRENTTIME ...this will be appended to generated verrazzano-project yaml for CLUSTERS_NAME ${CLUSTERS_NAME}
51
58
cp verrazzano-project.yaml verrazzano-project-$CURRENTTIME .yaml
You can’t perform that action at this time.
0 commit comments