Skip to content

Commit e8a314f

Browse files
committed
infra exercise flow almost done
1 parent 619342c commit e8a314f

File tree

11 files changed

+80
-34
lines changed

11 files changed

+80
-34
lines changed

content/en/s4r/2-initial-tour/7-infrastructure-home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 70
66

77
{{% button icon="clock" %}}5 minutes{{% /button %}}
88

9-
This section is split in two and is going to be a little longer, the first section is a quick intro to the main page, followed by a section to dive deeper into some of the special features of the Splunk Observability suite, before we start to use our application and validate performance.
9+
This section is split in multiple sections and is going to be a little longer, the first section is a quick intro to the main page, followed by a few sections to dive deeper into some of the special features of the Splunk Observability suite, before we start to use our application and validate performance.
1010

1111
Please select Splunk Infrastructure from the menu bar on the right by selecting the ![Infra-monitoring](../images/inframon-icon.png?classes=inline&height=25px). This will bring us to the Infrastructure Home Page. It has 4 distinct sections that provide information on all technology that is sending metrics to the Splunk observability Suite.
1212

content/en/s4r/2-initial-tour/im-exercise/1-im-excersise.md

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,38 @@ description: This section of the workshop provides an exercise using Splunk infr
55
weight: 10
66
---
77

8-
{{% button icon="clock" %}}15 minutes{{% /button %}}
8+
{{% button icon="clock" %}}8 minutes{{% /button %}}
99

10-
This is the second section, a deeper dive into some of the special features of the Splunk Observability suite.
10+
This is the second section, of the infra monitoring exercise,
11+
You should now have your single cluster visible.
1112

12-
Please select the *K8s nodes* tile from the Tile pane if you have not yet done so.
13-
(Select Kubernetes as your Technology). This will bring you to the Kubernetes Navigator Page.
13+
![Alt Cluster](../images/k8s-cluster.png?width=40vw)
1414

15-
![Kubernetes](../images/im-kubernetes.png?width=40vw)
15+
In the Kubernetes Navigator, your cluster is represented by the square with the black line, it will contain one or more blue squares representing the node(s), each of them wil contain one or more colored boxes that represent pods.
16+
and as you can guess, *Green* means healthy & *Red* means that there is a problem.
1617

17-
The screenshot above shows the main part of the kubernetes navigator. It will show all the clusters & their nodes that send metrics to the Splunk Observability Suite. In the workshop you will mostly see single node kubernetes cluster.
18-
19-
Let's make sure we are looking at our own cluster.
18+
Given there are two red boxes, lets see what is going on and if this will affect our E-commerce site.
2019

2120
{{% notice title="Info" style="green" title="Exercise" icon="running" %}}
2221

23-
* First, use the ![k8s filter](../images/k8s-add-filter.png?classes=inline) option to pick your cluster.
24-
* This can be done by selecting *k8s.cluster.name* from the filter drop down box.
25-
* You then can start typing the name of you cluster, (as provided by your instructor). The name should also appear in the drop down values. Select yours and make sure just the one for your workshop is highlighted with a ![blue tick](../images/k8s-blue-tick.png?classes=inline).
26-
* Click the {{% button style="blue" %}} Apply Filter {{% /button %}} button to focus on our Cluster
27-
* We now should have a single cluster visible.
28-
{{% /notice %}}
22+
* First, set the time window we are working with to th last 15 minutes. You do this by using the drop down in the Filter pane ![time-window](../images/time-window.png?classes=inline) to *the last 15 minutes*.
23+
* The Cluster Metric charts you can see below the cluster representation, provide information on your cluster, like the memory consumption and the number of pods per node. none of these will explain why there are red pods.
24+
* Let's check if the Spunk Kubernetes Analyzer can tell us something more useful, so click on **K8s analyzer**.
2925

30-
Let's move on the next page of this exercise and look at your cluster in detail.
26+
* The Spunk Kubernetes Analyzer is a smart process that runs in the background in the Splunk Observability Suite, designed to detect relations between anomalies.
27+
It should have detected that the two Red pods are similar and come from the same name space.
28+
* Can you find what name space? (hint, look for *k8s.namespace.name*)
3129

32-
---
30+
![Analyser result](../images/k8s-analyser-result.png?width=25vw)
3331

34-
Navigate to the K8s Navigator ... walk through ... filtering, metrics, node dependencies, etc.
32+
* Click on the name of namespace, this should add a filter to the filter pane, *k8s.namespace.name=development
33+
* This filter will highlight all pods that are part of the development namespace. As you can see only the two *"bad"* pods are highlighted This is a quick indication that our e-commerce site is not affected by these error pods.
3534

36-
Talk around what has been deployed
35+
* To confirm this click on **K8s node**. This will provide node metrics, and you can see that there are two pods in the development name space, and in the node workloads chart, you should be able to see that the *test=job* is in a failed state.
36+
* If you now remove the filter for the *k8s.namespace.space* from the filter Pane, the Node workload chart will show you all the workload on this node now, and again only the *test-job* in *development* has failed.
3737

38-
* Talk around initial panes goto Nodes
39-
* Filter to workshop cluster
40-
* Review default metrics
41-
* Node dependencies
42-
* Click on mysql pod
43-
* Talk around metadata for the container
44-
* Back to Infrastructure
38+
The above scenario is common in a shared kubernetes environment, where teams deploy application in different stages. Kubernetes is designed to keep those environment completely separate.
39+
40+
{{% /notice %}}
4541

46-
Something to trigger alerts in Navigator?
47-
![Kubernetes](../images/im-kubernetes.png)
42+
We can safely assume these pods do not affect us, so move on to look at few more things.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Splunk Infrastructure exercise with the Kubernetes Navigator
3+
linkTitle: Exercise part 3
4+
description: This section of the workshop provides an exercise using Splunk infra monitoring based on the Kubernetes Navigator.
5+
weight: 20
6+
---
7+
8+
{{% button icon="clock" %}}6 minutes{{% /button %}}
9+
10+
We are now going to work with the Information Pane on the right of the navigator.
11+
12+
![info pane](../images/k8s-info-pane.png?width=20vw)
13+
14+
This pane provides alert information, info on detected services and shows meta data related to the object your looking at, in this case a kubernetes node running on an ec2 instance in AWS.
15+
16+
{{% notice title="Info" style="green" title="Exercise" icon="running" %}}
17+
18+
Meta Data is send along wth the metrics an are very useful to identify trends when identifying issues. An example could be a pod failing when deployed on a specific Operating system.
19+
20+
* Can you identify what the Operating System and Architecture is what our node is running using the Meta Data?
21+
22+
We can these fields to filter in charts and/or detectors to drill down to a specific subset of metrics we are interested in.
23+
24+
{{% /notice %}}
25+
26+
An other feature of the Splunk Observability UI, is what we call *Related content*.
27+
28+
The Splunk Observability UI will try to show you links to information that is related to the topic you are actively looking at. A good example of this are the services running on this node.
29+
30+
Let's use this *related content*:
31+
{{% notice title="Info" style="green" title="Exercise" icon="running" %}}
32+
You should have two services detected, *Mysql* & *Redis*, the two databases used by our e-commerce application.
33+
34+
* Hoover on the *Mysql* tile,
35+
{{% /notice %}}
36+
37+
This completes the quick tour of the Splunk Observability SuiteUI. Let's go an look at our E-commerce site and do some shopping in the next page.

content/en/s4r/2-initial-tour/im-exercise/_index.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,38 @@ description: This section of the workshop provides an exercise using Splunk infr
55
weight: 80
66
---
77

8-
{{% button icon="clock" %}}15 minutes{{% /button %}}
8+
{{% button icon="clock" %}}7 minutes{{% /button %}}
99

10-
This is the second section, a deeper dive into some of the special features of the Splunk Observability suite.
10+
This is the third section of our Kubernetes Navigator exercise.
1111

1212
Please select the *K8s nodes* tile from the Tile pane if you have not yet done so.
1313
(Select Kubernetes as your Technology). This will bring you to the Kubernetes Navigator Page.
1414

15-
![Kubernetes](../images/im-kubernetes.png?width=40vw)
15+
![Kubernetes](images/im-kubernetes.png?width=40vw)
1616

1717
The screenshot above shows the main part of the kubernetes navigator. It will show all the clusters & their nodes that send metrics to the Splunk Observability Suite. In the workshop you will mostly see single node kubernetes cluster.
1818

19-
Let's make sure we are looking at our own cluster.
19+
{{% notice title=" Kubernetes Terminology" style="info" %}}
20+
21+
K8s, short for Kubernetes, is an open-source container orchestration platform. It manages the deployment, scaling, and maintenance of containerized applications, and we use it in this workshop to host our e-commerce application
22+
Some terminology:
23+
24+
* A Kubernetes cluster is a group of machines, called nodes, that work together to run containerized applications.
25+
* Nodes are individual servers or VMs in the cluster. Typically, you would have several nodes in a cluster but you may have just one node, just like in this workshop.
26+
* Pods are the smallest deployable units in Kubernetes, representing one or more containers that share the same network and storage, enabling efficient application scaling and management
27+
* Applications is a collection of one or more pods interacting together to provide a service.
28+
* Namespaces help you keep your applications organized and separate within the cluster,by providing a logical separation for multiple teams or projects within a cluster.
29+
* Workloads are like a task list and define how many instances of your application should run, how they should be created, and how they should respond to failures
30+
31+
{{% /notice %}}
32+
33+
Before we dive deeper, let's make sure we are looking at our own cluster.
2034

2135
{{% notice title="Info" style="green" title="Exercise" icon="running" %}}
2236

23-
* First, use the ![k8s filter](../images/k8s-add-filter.png?classes=inline) option to pick your cluster.
37+
* First, use the ![k8s filter](images/k8s-add-filter.png?classes=inline) option to pick your cluster.
2438
* This can be done by selecting *k8s.cluster.name* from the filter drop down box.
25-
* You then can start typing the name of you cluster, (as provided by your instructor). The name should also appear in the drop down values. Select yours and make sure just the one for your workshop is highlighted with a ![blue tick](../images/k8s-blue-tick.png?classes=inline).
39+
* You then can start typing the name of you cluster, (as provided by your instructor). The name should also appear in the drop down values. Select yours and make sure just the one for your workshop is highlighted with a ![blue tick](images/k8s-blue-tick.png?classes=inline).
2640
* Click the {{% button style="blue" %}} Apply Filter {{% /button %}} button to focus on our Cluster
2741
* We now should have a single cluster visible.
2842
{{% /notice %}}
40.5 KB
Loading
41.2 KB
Loading
39.3 KB
Loading

0 commit comments

Comments
 (0)