File tree 7 files changed +22
-7
lines changed
7 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -35,4 +35,4 @@ packaging/*/BUILDROOT/*
35
35
packaging /* /BUILDROOT /*
36
36
37
37
.vscode
38
- .vscode /*
38
+ .vscode /*
Original file line number Diff line number Diff line change 32
32
33
33
- [ JSON exporter] ( references/exporter-json.md )
34
34
- [ Prometheus exporter] ( references/exporter-prometheus.md )
35
+ - [ Prometheus-push exporter] ( references/exporter-prometheuspush.md )
35
36
- [ Qemu exporter] ( references/exporter-qemu.md )
36
37
- [ Riemann exporter] ( references/exporter-riemann.md )
37
38
- [ Stdout exporter] ( references/exporter-stdout.md )
Original file line number Diff line number Diff line change 2
2
3
3
## Usage
4
4
5
- You can launch the prometheus exporter this way (running the default powercap_rapl sensor) :
5
+ You can launch the prometheus exporter this way:
6
6
7
7
scaphandre prometheus-push
8
8
Original file line number Diff line number Diff line change 4
4
5
5
## Using the installer
6
6
7
- Download the [ package ] ( https://scaphandre.s3.fr-par.scw.cloud/x86_64/scaphandre_0.5.0_installer.exe ) and install it ** as an administrator** .
7
+ Download the latest exe installer [ from the release page ] ( https://github.com/hubblo-org/scaphandre/releases ) and install it ** as an administrator** .
8
8
9
9
### Configuring a Windows service to run Scaphandre in the background
10
10
Original file line number Diff line number Diff line change @@ -21,6 +21,14 @@ to be installed from the source code.
21
21
| ` serviceMonitor.namespace ` | The namespace in which the ServiceMonitor will be created (if not set, default to namespace on which this chart is installed) | ` "" ` |
22
22
| ` serviceMonitor.interval ` | The interval at which metrics should be scraped | ` 1m ` |
23
23
24
+
25
+ #### Security Parameters
26
+
27
+ | Name | Description | Value |
28
+ | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | ------------------------- |
29
+ | ` securityContext.privileged ` | Gives full host access, bypassing container isolation (can be needed to run on physical server) | ` false ` |
30
+ | ` securityContext.runAsUser ` | Run as root user to get proper permissions | ` 0 ` |
31
+ | ` securityContext.runAsGroup ` | Run as root group to get proper permissions | ` 0 ` |
24
32
## Install Prometheus
25
33
26
34
Next we will install Prometheus which will scrape the metrics generated by Scaphandre.
Original file line number Diff line number Diff line change 43
43
ports :
44
44
- name : metrics
45
45
containerPort : {{ .Values.port }}
46
+ securityContext :
47
+ privileged : {{ .Values.securityContext.privileged }}
46
48
resources :
47
49
{{ toYaml .Values.resources | indent 10 }}
48
50
volumeMounts :
53
55
name : powercap
54
56
readOnly : false
55
57
securityContext :
56
- runAsUser : {{ .Values.userID }}
57
- runAsGroup : {{ .Values.userGroup }}
58
+ runAsUser : {{ .Values.securityContext. userID }}
59
+ runAsGroup : {{ .Values.securityContext. userGroup }}
58
60
serviceAccountName : {{ template "scaphandre.name" . }}
59
61
tolerations :
60
62
# Tolerate all taints for observability
Original file line number Diff line number Diff line change @@ -18,9 +18,13 @@ scaphandre:
18
18
containers :
19
19
# rustBacktrace: '1'
20
20
21
+
22
+ securityContext :
23
+ # Gives full host access, bypassing container isolation. true or false
24
+ privileged : false
21
25
# Run as root user to get proper permissions
22
- userID : 0
23
- groupID : 0
26
+ userID : 0
27
+ groupID : 0
24
28
25
29
serviceMonitor :
26
30
# Specifies whether ServiceMonitor for Prometheus operator should be created
You can’t perform that action at this time.
0 commit comments