Skip to content

Commit ac46069

Browse files
authored
Update deploy.md
1 parent 674d5aa commit ac46069

File tree

1 file changed

+62
-7
lines changed

1 file changed

+62
-7
lines changed

content/en/tko/session-2/docs/deploy.md

Lines changed: 62 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,40 @@ helm install kafka --set replicaCount=3 --set metrics.jmx.enabled=true --set met
5151
helm install mongodb --set metrics.enabled=true bitnami/mongodb --set global.namespaceOverride=default --set auth.rootUser=root --set auth.rootPassword=splunk --set auth.enabled=false --version 12.1.31
5252
```
5353

54-
###verify the helm chart installation
54+
Verify the helm chart installation
55+
56+
{{< tabs >}}
57+
{{% tab name="helm list" %}}
58+
59+
```bash
5560
helm list
61+
```
62+
63+
{{% /tab %}}
64+
{{% tab name="helm list output" %}}
65+
66+
``` text
5667
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
5768
kafka default 1 2022-11-14 11:21:36.328956822 -0800 PST deployed kafka-19.1.3 3.3.1
5869
mongodb default 1 2022-11-14 11:19:36.507690487 -0800 PST deployed mongodb-12.1.31 5.0.10
70+
```
71+
{{% /tab %}}
72+
{{< /tabs >}}
73+
5974

60-
###verify the helm chart installation
75+
Verify the helm chart installation
6176

77+
78+
{{< tabs >}}
79+
{{% tab name="kubectl get pods" %}}
80+
81+
``` bash
6282
kubectl get pods
83+
```
84+
{{% /tab %}}
85+
{{% tab name "kubectl get pods Output" %}}
86+
87+
``` text
6388
NAME READY STATUS RESTARTS AGE
6489
kafka-exporter-595778d7b4-99ztt 0/1 ContainerCreating 0 17s
6590
mongodb-b7c968dbd-jxvsj 0/2 Pending 0 6s
@@ -68,6 +93,8 @@ kafka-2 0/2 ContainerCreating 0 16s
6893
kafka-zookeeper-0 0/1 Pending 0 17s
6994
kafka-0 0/2 Pending 0 17s
7095
```
96+
{{% /tab %}}
97+
{{< /tabs >}}
7198

7299
Use information for each Helm chart and Splunk O11y Data Setup to generate values.yaml for capturing metrics from Kafka and MongoDB.
73100

@@ -153,25 +180,50 @@ otelAgent:
153180
### 5. Install the Splunk OTEL helm chart
154181
155182
``` bash
156-
cd ../otel_yamls
157-
repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart
158-
helm repo update
183+
cd ../otel_yamls \
184+
repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart \
185+
helm repo update \
186+
```
159187

188+
``` bash
160189
helm install --set provider=' ' --set distro=' ' --set splunkObservability.accessToken=$SPLUNK_ACCESS_TOKEN --set clusterName=$clusterName --set splunkObservability.realm=$SPLUNK_REALM --set otelCollector.enabled='false' --set splunkObservability.logsEnabled='true' --set gateway.enabled='false' --values kafka.values.yaml --values mongodb.values.yaml --values zookeeper.values.yaml --values alwayson.values.yaml --values k3slogs.yaml --generate-name splunk-otel-collector-chart/splunk-otel-collector
161190
```
162191

163192
### 6. Verify installation
164193

165194
Verify that the Kafka, MongoDB and Splunk OTEL Collector helm charts are installed, note that names may differ.
166195

196+
{{< tabs >}}
197+
{{% tab name="helm list" %}}
198+
199+
``` bash
200+
helm list
201+
```
202+
203+
{{% /tab %}}
204+
{{% tab name="helm list Output" %}}
205+
167206
``` text
168-
$helm list
169207
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
170208
kafka default 1 2021-12-07 12:48:47.066421971 -0800 PST deployed kafka-14.4.1 2.8.1
171209
mongodb default 1 2021-12-07 12:49:06.132771625 -0800 PST deployed mongodb-10.29.2 4.4.10
172210
splunk-otel-collector-1638910184 default 1 2021-12-07 12:49:45.694013749 -0800 PST deployed splunk-otel-collector-0.37.1 0.37.1
211+
```
212+
213+
{{ % /tab %}}
214+
{{< /tabs >}}
173215

174-
$ kubectl get pods
216+
{{< tabs >}}
217+
{{% tab name="kubectl get pods" %}}
218+
219+
``` bash
220+
kubectl get pods
221+
```
222+
223+
{{% /tab %}}
224+
{{% tab name="kubectl get pods Output" %}}
225+
226+
``` text
175227
NAME READY STATUS RESTARTS AGE
176228
kafka-zookeeper-0 1/1 Running 0 18m
177229
kafka-2 2/2 Running 1 18m
@@ -183,6 +235,9 @@ splunk-otel-collector-1638910184-agent-27s5c 2/2 Runnin
183235
splunk-otel-collector-1638910184-k8s-cluster-receiver-8587qmh9l 1/1 Running 0 17m
184236
```
185237

238+
{{ % /tab %}}
239+
{{< /tabs >}}
240+
186241
### 7. Verify dashboards
187242

188243
Verify that out of the box dashboards for Kafka, MongoDB and Zookeeper are populated in the Infrastructure Monitor landing page. Drill down into each component to view granular details for each service.

0 commit comments

Comments
 (0)