2018-12-12 18:18:00 +01:00
|
|
|
apiVersion: apps/v1beta2
|
|
|
|
kind: DaemonSet
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
k8s-app: arm-exporter
|
|
|
|
name: arm-exporter
|
|
|
|
namespace: monitoring
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
k8s-app: arm-exporter
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
k8s-app: arm-exporter
|
|
|
|
spec:
|
|
|
|
containers:
|
2019-02-27 17:18:13 +01:00
|
|
|
- command:
|
|
|
|
- /bin/rpi_exporter
|
|
|
|
- --web.listen-address=127.0.0.1:9243
|
|
|
|
image: carlosedp/arm_exporter:latest
|
2018-12-12 18:18:00 +01:00
|
|
|
name: arm-exporter
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpu: 100m
|
2019-02-01 14:43:22 +01:00
|
|
|
memory: 100Mi
|
|
|
|
requests:
|
|
|
|
cpu: 50m
|
|
|
|
memory: 50Mi
|
2018-12-12 18:18:00 +01:00
|
|
|
- args:
|
2019-02-27 17:18:13 +01:00
|
|
|
- --secure-listen-address=$(IP):9243
|
2018-12-12 18:18:00 +01:00
|
|
|
- --upstream=http://127.0.0.1:9243/
|
2019-02-27 17:18:13 +01:00
|
|
|
env:
|
|
|
|
- name: IP
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
fieldPath: status.podIP
|
2019-02-04 21:03:30 +01:00
|
|
|
image: carlosedp/kube-rbac-proxy:v0.4.1
|
2018-12-12 18:18:00 +01:00
|
|
|
name: kube-rbac-proxy
|
|
|
|
ports:
|
|
|
|
- containerPort: 9243
|
|
|
|
hostPort: 9243
|
|
|
|
name: https
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpu: 20m
|
|
|
|
memory: 40Mi
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
memory: 20Mi
|
|
|
|
nodeSelector:
|
2019-02-05 19:54:41 +01:00
|
|
|
beta.kubernetes.io/arch: arm64
|