diff --git a/workshop/tagging/0-deploy-collector-with-services.sh b/workshop/tagging/0-deploy-collector-with-services.sh new file mode 100755 index 0000000000..e88cee9e12 --- /dev/null +++ b/workshop/tagging/0-deploy-collector-with-services.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +if [ ! -f /home/splunk/.helmok ]; then + helm repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart + helm repo update + helm install splunk-otel-collector \ + --set="splunkObservability.realm=$REALM" \ + --set="splunkObservability.accessToken=$ACCESS_TOKEN" \ + --set="clusterName=$INSTANCE-k3s-cluster" \ + --set="environment=tagging-workshop-$INSTANCE" \ + splunk-otel-collector-chart/splunk-otel-collector + + cd /home/splunk/workshop/tagging/ + ./2-deploy-creditcheckservice.sh + ./3-deploy-creditprocessorservice.sh + ./4-deploy-load-generator.sh + + echo $INSTANCE > /home/splunk/.helmok +fi \ No newline at end of file