Compare commits
1 commit
46702a1f86
...
f82d00c2a0
Author | SHA1 | Date | |
---|---|---|---|
f82d00c2a0 |
1 changed files with 9 additions and 28 deletions
|
@ -31,7 +31,7 @@ spec:
|
||||||
- shadowfax-01
|
- shadowfax-01
|
||||||
containers:
|
containers:
|
||||||
app:
|
app:
|
||||||
image: &image
|
image:
|
||||||
repository: quay.io/prometheuscommunity/smartctl-exporter
|
repository: quay.io/prometheuscommunity/smartctl-exporter
|
||||||
tag: v0.12.0
|
tag: v0.12.0
|
||||||
args:
|
args:
|
||||||
|
@ -39,7 +39,7 @@ spec:
|
||||||
- --smartctl.interval=120s
|
- --smartctl.interval=120s
|
||||||
- --web.listen-address=0.0.0.0:9633
|
- --web.listen-address=0.0.0.0:9633
|
||||||
- --web.telemetry-path=/metrics
|
- --web.telemetry-path=/metrics
|
||||||
securityContext: &securityContext
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
probes:
|
probes:
|
||||||
|
@ -51,32 +51,13 @@ spec:
|
||||||
port: 9633
|
port: 9633
|
||||||
path: /
|
path: /
|
||||||
readiness: *probes
|
readiness: *probes
|
||||||
smartctl-exporter-vms:
|
service:
|
||||||
type: daemonset
|
|
||||||
pod:
|
|
||||||
affinity:
|
|
||||||
nodeAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchExpressions:
|
|
||||||
- key: kubernetes.io/hostname
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- gandalf-01
|
|
||||||
- shadowfax-01
|
|
||||||
containers:
|
|
||||||
app:
|
app:
|
||||||
image: *image
|
controller: smartctl-exporter
|
||||||
args:
|
type: LoadBalancer
|
||||||
- --smartctl.path=/usr/sbin/smartctl
|
ports:
|
||||||
- --smartctl.interval=120s
|
http:
|
||||||
- --web.listen-address=0.0.0.0:9633
|
port: 9633
|
||||||
- --web.telemetry-path=/metrics
|
|
||||||
- --smartctl.device=/dev/nvme0
|
|
||||||
securityContext: *securityContext
|
|
||||||
probes:
|
|
||||||
liveness: *probes
|
|
||||||
readiness: *probes
|
|
||||||
persistence:
|
persistence:
|
||||||
dev:
|
dev:
|
||||||
type: hostPath
|
type: hostPath
|
||||||
|
|
Loading…
Reference in a new issue