Skip to content

Commit bd0cc22

Browse files
committed
Fixed tabpanes
1 parent ba90fcf commit bd0cc22

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

content/en/tko/session-5/docs/deploy-otel.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Most customers will want to install the Splunk OpenTelemetry Collector in a sepa
5252
Install the OpenTelemetry Collector using the Splunk Helm chart. First, add the Splunk Helm chart repository and update.
5353

5454
{{< tabpane >}}
55-
{{< tab header="Helm Repo Add" lang="text" >}}
55+
{{< tab header="Helm Repo Add" lang="sh" >}}
5656
helm repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart && helm repo update
5757
{{< /tab >}}
5858
{{< tab header="Helm Repo Add Output" lang="text" >}}
@@ -70,7 +70,7 @@ Update Complete. ⎈Happy Helming!⎈
7070
Install the OpenTelemetry Collector Helm chart into the `splunk` namespace with the following commands, do **NOT** edit this:
7171

7272
{{< tabpane >}}
73-
{{< tab header="Helm Install" lang="text" >}}
73+
{{< tab header="Helm Install" lang="sh" >}}
7474
helm install splunk-otel-collector \
7575
--set="splunkObservability.realm=$REALM" \
7676
--set="splunkObservability.accessToken=$ACCESS_TOKEN" \
@@ -81,10 +81,6 @@ splunk-otel-collector-chart/splunk-otel-collector \
8181
--namespace splunk \
8282
--create-namespace \
8383
-f ~/workshop/k3s/splunk-defaults.yaml
84-
85-
{{< /tab >}}
86-
{{< tab header="Helm Install Single Line" lang="text" >}}
87-
helm install splunk-otel-collector --set="splunkObservability.realm=$REALM" --set="splunkObservability.accessToken=$ACCESS_TOKEN" --set="clusterName=$(hostname)-k3s-cluster" --set="splunkObservability.logsEnabled=true" --set="splunkObservability.infrastructureMonitoringEventsEnabled=true" splunk-otel-collector-chart/splunk-otel-collector --namespace splunk --create-namespace -f ~/workshop/k3s/splunk-defaults.yaml
8884
{{< /tab >}}
8985
{{< /tabpane >}}
9086

@@ -95,7 +91,7 @@ You can monitor the progress of the deployment by running `kubectl get pods` and
9591
Ensure the status is reported as **Running** before continuing.
9692

9793
{{< tabpane >}}
98-
{{< tab header="kubectl get pods" lang="text" >}}
94+
{{< tab header="kubectl get pods" lang="sh" >}}
9995
kubectl get pods -n splunk
10096
{{< /tab >}}
10197
{{< tab header="kubectl get pods Output" lang="text" >}}
@@ -118,7 +114,7 @@ Just make sure you use the correct label that is generated by the Helm chart if
118114
Use the label set by the `helm` install to tail logs (You will need to press `ctrl + c` to exit).
119115

120116
{{< tabpane >}}
121-
{{< tab header="kubectl logs" lang="text" >}}
117+
{{< tab header="kubectl logs" lang="sh" >}}
122118
kubectl logs -l app=splunk-otel-collector -f --container otel-collector -n splunk
123119
{{< /tab >}}
124120
{{< /tabpane >}}
@@ -130,6 +126,6 @@ Or use the installed `k9s` terminal UI.
130126
{{% alert title="Deleting a failed installation" color="danger" %}}
131127
If you make an error installing the Splunk OpenTelemetry Collector you can start over by deleting the installation using:
132128

133-
``` bash
129+
``` sh
134130
helm delete splunk-otel-collector -n splunk
135-
```
131+
```

0 commit comments

Comments
 (0)