Skip to content

Commit d1e2861

Browse files
committed
added startup script to tagging workshop
1 parent 1e6d7e9 commit d1e2861

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
if [ ! -f /home/splunk/.helmok ]; then
4+
helm repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart
5+
helm repo update
6+
helm install splunk-otel-collector \
7+
--set="splunkObservability.realm=$REALM" \
8+
--set="splunkObservability.accessToken=$ACCESS_TOKEN" \
9+
--set="clusterName=$INSTANCE-k3s-cluster" \
10+
--set="environment=tagging-workshop-$INSTANCE" \
11+
splunk-otel-collector-chart/splunk-otel-collector
12+
13+
cd /home/splunk/workshop/tagging/
14+
./2-deploy-creditcheckservice.sh
15+
./3-deploy-creditprocessorservice.sh
16+
./4-deploy-load-generator.sh
17+
18+
echo $INSTANCE > /home/splunk/.helmok
19+
fi

0 commit comments

Comments
 (0)