typhoon/addons/prometheus
Dalton Hubble ffbacbccf7 Update node-exporter DaemonSet to fix permission denied
* Add toleration to run node-exporter on controller nodes
* Add HostToContainer mount propagation and security context group
settings from upstream
* Fix SELinux denied accessing /host/proc/1/mounts. The mounts file
is has an SELinux type attribute init_t, but that won't allow running
the node-exporter binary so we have to use spc_t. This should be more
targeted at just the SELinux issue than making the Pod privileged
* Remove excluded mount points and filesystem types, the defaults are
https://github.com/prometheus/node_exporter/blob/v1.3.1/collector/filesystem_linux.go#L35

```
caller=collector.go:169 level=error msg="collector failed" name=filesystem duration_seconds=0.000666766 err="open /host/proc/1/mounts: permission denied"
```

```
[ 3664.880899] audit: type=1400 audit(1659639161.568:4400): avc:  denied  { search } for  pid=28325 comm="node_exporter" name="1" dev="proc" ino=22542 scontext=system_u:system_r:container_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=dir permissive=0
```
2022-08-08 09:19:46 -07:00
..
discovery Update Prometheus discovery of kube components 2021-08-10 21:25:19 -07:00
exporters Update node-exporter DaemonSet to fix permission denied 2022-08-08 09:19:46 -07:00
rbac Add Prometheus config for monitoring Kubernetes Ingress 2021-12-29 11:57:50 -08:00
0-namespace.yaml Label namespaces to ease writing Network Policies 2018-06-09 11:45:11 -07:00
config.yaml Add Prometheus config for monitoring Kubernetes Ingress 2021-12-29 11:57:50 -08:00
deployment.yaml Update Prometheus, Grafana, and ingress-nginx addons 2022-07-15 20:19:12 -07:00
network-policy.yaml Add NetworkPolicy to limit traffic into Prometheus 2019-03-23 21:38:34 -07:00
rules.yaml Refresh Prometheus rules and Grafana dashboards 2022-03-19 17:08:00 -07:00
service-account.yaml addons: Update Prometheus to v2.1.0 2018-01-27 21:00:15 -08:00
service.yaml Add explicit annotation for Prometheus port to scrape 2019-10-20 16:05:09 -07:00