Skip to content

Commit

Permalink
update: readme, daemonset and images
Browse files Browse the repository at this point in the history
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
  • Loading branch information
frzifus committed Mar 20, 2024
1 parent 2779416 commit a68bd82
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 01-welcome-setup.md
Expand Up @@ -33,7 +33,7 @@ If this is not the case, simply download the [kind-v0.22.0](https://github.com/k
After a successful installation, a cluster can be created as follows:

```bash
kind create cluster --name=workshop --image kindest/node:v1.27.3
kind create cluster --name=workshop --config=kind-1.29.yaml
```

Kind automatically sets the kube context to the created workshop cluster. We can easily check this by getting information about our nodes.
Expand All @@ -45,7 +45,7 @@ Expected is the following:

```bash
NAME STATUS ROLES AGE VERSION
workshop-control-plane Ready control-plane 75s v1.27.3
workshop-control-plane Ready control-plane 75s v1.29.1
```

### Cleanup
Expand Down
2 changes: 1 addition & 1 deletion 05-sampling.md
Expand Up @@ -16,7 +16,7 @@ For example, a medium sized setup producing ~1M traces per minute can result in

Pricing:
- AWS Xray ([calculator](https://aws.amazon.com/xray/pricing/))
- GCP Cloud Trace [pricing](https://cloud.google.com/stackdriver/pricing#trace-costs)
- GCP Cloud Trace ([pricing](https://cloud.google.com/stackdriver/pricing#trace-costs))

```
GCP
Expand Down
17 changes: 17 additions & 0 deletions 08-k8s-tracing.md
Expand Up @@ -88,6 +88,20 @@ spec:
priorityClassName: system-node-critical
```

Once the API-Server and ETCD are reporting telemetry data we can make some noise by creating and deleting an nginx instance:
```bash
$ kubectl create deployment nginx-project --image=nginx
deployment.apps/nginx-project created
---
$ kubectl get deployments.apps
NAME READY UP-TO-DATE AVAILABLE AGE
nginx-project 1/1 1 1 1m
---
$ kubectl delete deployments.apps nginx-project
deployment.apps "nginx-project" deleted
```

![api-server](images/api-server.png)

## Kubelet

Expand All @@ -112,3 +126,6 @@ This should be the effect:
volumeStatsAggPeriod: 0s
```


![terminating](images/terminating.png)
![terminated](images/terminated.png)
1 change: 1 addition & 0 deletions app/otel-daemonset.yaml
@@ -1,3 +1,4 @@
---
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
Expand Down
Binary file added images/api-server.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/rolldice-delay.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/rolldice-error.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/terminated.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/terminating.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion kind-1.29.yaml
Expand Up @@ -38,7 +38,7 @@ nodes:
extraArgs:
tracing-config-file: "/api-server/tracing-config.yaml"
extraVolumes:
- name: tracingConfig
- name: tracing-config
hostPath: /api-server/tracing-config.yaml
mountPath: /api-server/tracing-config.yaml
readOnly: true
Expand Down

0 comments on commit a68bd82

Please sign in to comment.