Skip to content

Commit 7ec3f6e

Browse files
Removed Sysdig resources (from kubernetes-control to wmi)
1 parent 76d7c43 commit 7ec3f6e

File tree

214 files changed

+45
-84687
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+45
-84687
lines changed

resources/kubernetes-control/INSTALL.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
11
# Prerequisites
2-
Kubernetes generates a high number of metrics for the control plane. As the Sysdig Agent has a limit of time-series that can send to Sysdig Monitor, you have to deploy a Prometheus server and create the recording rules that we provide. This way, we will filter only the metrics that we need.
3-
42
To deploy a Prometheus server you will need:
53
* [helm](https://helm.sh/docs/intro/install/)
64
* [helmfile](https://github.com/roboll/helmfile)
75

8-
## Mount the etcd certificates in the sysdig agent
9-
```sh
10-
kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"volumes":[{"hostPath":{"path":"/etc/kubernetes/pki/etcd-manager-main","type":"DirectoryOrCreate"},"name":"etcd-certificates"}]}}}}'
11-
12-
kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"containers":[{"name":"sysdig-agent","volumeMounts": [{"mountPath": "/etc/kubernetes/pki/etcd-manager","name": "etcd-certificates"}]}]}}}}'
13-
```
14-
156
# Installing and configuring Prometheus
167
## Installing a new Prometheus with helm
178
In this section we will explain how to install and configure a new prometheus server with the recording rules.
189

1910
Download the following files:
2011
- helmfile.yaml
21-
- recording_rules.yaml
2212
- prometheus.yaml
2313
- prometheus.yml.gotmpl
2414

@@ -62,12 +52,3 @@ And update the cluster:
6252
```
6353
kops --state s3://name-of-s3 --name cluster-name rolling-update cluster --yes
6454
```
65-
66-
# Configuring the Sysdig Agent
67-
To use the Sysdig agent, you have to create the recording rules for only scrape the metrics we will use in our dashboards.
68-
69-
1. Copy the agent configuration provided and save it as `sysdig-agent.yaml`. Then apply it:
70-
71-
```
72-
kubectl apply -f sysdig-agent.yaml
73-
```

resources/kubernetes-control/INSTALLv1.22.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
## Mount the etcd certificates in the sysdig agent
2-
```sh
3-
kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"volumes":[{"hostPath":{"path":"/etc/kubernetes/pki/etcd-manager-main","type":"DirectoryOrCreate"},"name":"etcd-certificates"}]}}}}'
4-
5-
kubectl -n sysdig-agent patch ds sysdig-agent -p '{"spec":{"template":{"spec":{"containers":[{"name":"sysdig-agent","volumeMounts": [{"mountPath": "/etc/kubernetes/pki/etcd-manager","name": "etcd-certificates"}]}]}}}}'
6-
```
7-
81
# Exposing the Proxy port in kops
92
If you are using kops, you will have to change the cluster spec to expose the port for the proxy. To edit the cluster, run:
103

resources/kubernetes-control/RECORDING-RULES.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

resources/kubernetes-control/dashboardsv1.14.yaml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -40,38 +40,4 @@ configurations:
4040
This dashboard offers information on:
4141
* Proxy Server
4242
file: include/dashboard-Grafana-Kubernetes---Proxy-1.14.0.json
43-
- name: Kubernetes / Api
44-
kind: Sysdig
45-
image: kubernetes-control/images/api_sysdig.png
46-
description: |
47-
This dashboard offers information on:
48-
* Api Server
49-
file: include/dashboard-Sysdig-Kubernetes---Api-1.14.0.json
50-
- name: Kubernetes / Controller manager
51-
kind: Sysdig
52-
image: kubernetes-control/images/controller_manager_sysdig.png
53-
description: |
54-
This dashboard offers information on:
55-
* Controller manager
56-
file: include/dashboard-Sysdig-Kubernetes---Controller-manager-1.14.0.json
57-
- name: Kubernetes / Kubelet
58-
kind: Sysdig
59-
image: kubernetes-control/images/kubelet_sysdig.png
60-
description: |
61-
This dashboard offers information on:
62-
* Kubelet
63-
file: include/dashboard-Sysdig-Kubernetes---Kubelet-1.14.0.json
64-
- name: Kubernetes / Scheduler
65-
kind: Sysdig
66-
image: kubernetes-control/images/scheduler_sysdig.png
67-
description: |
68-
This dashboard offers information on:
69-
* Scheduler
70-
file: include/dashboard-Sysdig-Kubernetes---Scheduler-1.14.0.json
71-
- name: Kubernetes / Proxy
72-
kind: Sysdig
73-
image: kubernetes-control/images/proxy_sysdig.png
74-
description: |
75-
This dashboard offers information on:
76-
* Proxy server
77-
file: include/dashboard-Sysdig-Kubernetes---Proxy-1.14.0.json
43+

resources/kubernetes-control/dashboardsv1.18.yaml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,6 @@ version: 1.0.0
55
appVersion:
66
- 1.18.0
77
configurations:
8-
- name: Kubernetes / Api
9-
kind: Sysdig
10-
image: kubernetes-control/images/api_sysdig.png
11-
description: |
12-
This dashboard offers information on:
13-
* Api Server
14-
file: include/dashboard-Sysdig-Kubernetes---Api-1.14.0.json
15-
- name: Kubernetes / Controller manager
16-
kind: Sysdig
17-
image: kubernetes-control/images/controller_manager_sysdig.png
18-
description: |
19-
This dashboard offers information on:
20-
* Controller manager
21-
file: include/dashboard-Sysdig-Kubernetes---Controller-manager-1.14.0.json
22-
- name: Kubernetes / Kubelet
23-
kind: Sysdig
24-
image: kubernetes-control/images/kubelet_sysdig.png
25-
description: |
26-
This dashboard offers information on:
27-
* Kubelet
28-
file: include/dashboard-Sysdig-Kubernetes---Kubelet-1.14.0.json
29-
- name: Kubernetes / Scheduler
30-
kind: Sysdig
31-
image: kubernetes-control/images/scheduler_sysdig.png
32-
description: |
33-
This dashboard offers information on:
34-
* Scheduler
35-
file: include/dashboard-Sysdig-Kubernetes---Scheduler-1.14.0.json
36-
- name: Kubernetes / Proxy
37-
kind: Sysdig
38-
image: kubernetes-control/images/proxy_sysdig.png
39-
description: |
40-
This dashboard offers information on:
41-
* Proxy server
42-
file: include/dashboard-Sysdig-Kubernetes---Proxy-1.14.0.json
43-
- name: Kubernetes / CoreDNS
44-
kind: Sysdig
45-
image: kubernetes-control/images/coreDNS_sysdig.png
46-
description: |
47-
This dashboard offers information on:
48-
* CoreDns
49-
file: include/dashboard-Sysdig-Kubernetes---CoreDNS-1.18.0.json
50-
- name: Kubernetes / etcd
51-
kind: Sysdig
52-
image: kubernetes-control/images/etcd_sysdig.png
53-
description: |
54-
This dashboard offers information on:
55-
* etcd
56-
file: include/dashboard-Sysdig-Kubernetes---etcd-1.14.0.json
578
- name: Kubernetes / Api
589
kind: Grafana
5910
image: kubernetes-control/images/api_grafana.png

resources/kubernetes-control/dashboardsv1.22.yaml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,4 @@ app: Kubernetes control plane
44
version: 1.0.0
55
appVersion:
66
- 1.22.0
7-
configurations:
8-
- name: Kubernetes / Api
9-
kind: Sysdig
10-
image: kubernetes-control/images/api_sysdig_22.png
11-
description: |
12-
This dashboard offers information on:
13-
* Api Server
14-
file: include/dashboard-Sysdig-Kubernetes---Api-1.22.0.json
15-
- name: Kubernetes / Controller manager
16-
kind: Sysdig
17-
image: kubernetes-control/images/controller_manager_sysdig_22.png
18-
description: |
19-
This dashboard offers information on:
20-
* Controller manager
21-
file: include/dashboard-Sysdig-Kubernetes---Controller-manager-1.22.0.json
22-
- name: Kubernetes / Kubelet
23-
kind: Sysdig
24-
image: kubernetes-control/images/kubelet_sysdig_22.png
25-
description: |
26-
This dashboard offers information on:
27-
* Kubelet
28-
file: include/dashboard-Sysdig-Kubernetes---Kubelet-1.22.0.json
29-
- name: Kubernetes / Scheduler
30-
kind: Sysdig
31-
image: kubernetes-control/images/scheduler_sysdig_22.png
32-
description: |
33-
This dashboard offers information on:
34-
* Scheduler
35-
file: include/dashboard-Sysdig-Kubernetes---Scheduler-1.22.0.json
36-
- name: Kubernetes / Proxy
37-
kind: Sysdig
38-
image: kubernetes-control/images/proxy_sysdig_22.png
39-
description: |
40-
This dashboard offers information on:
41-
* Proxy server
42-
file: include/dashboard-Sysdig-Kubernetes---Proxy-1.22.0.json
43-
- name: Kubernetes / CoreDNS
44-
kind: Sysdig
45-
image: kubernetes-control/images/coreDNS_sysdig_22.png
46-
description: |
47-
This dashboard offers information on:
48-
* CoreDns
49-
file: include/dashboard-Sysdig-Kubernetes---CoreDNS-1.22.0.json
50-
- name: Kubernetes / etcd
51-
kind: Sysdig
52-
image: kubernetes-control/images/etcd_sysdig.png
53-
description: |
54-
This dashboard offers information on:
55-
* etcd
56-
file: include/dashboard-Sysdig-Kubernetes---etcd-1.14.0.json
7+
configurations: []
-497 KB
Binary file not shown.
-1.39 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)