Compare commits
2 commits
f82d00c2a0
...
46702a1f86
Author | SHA1 | Date | |
---|---|---|---|
46702a1f86 | |||
967dfc3556 |
2 changed files with 29 additions and 10 deletions
|
@ -191,7 +191,7 @@ spec:
|
||||||
volsync:
|
volsync:
|
||||||
# removate: depName="VolSync Dashboard"
|
# removate: depName="VolSync Dashboard"
|
||||||
gnetId: 21356
|
gnetId: 21356
|
||||||
revision: 1
|
revision: 3
|
||||||
datasource:
|
datasource:
|
||||||
- { name: DS_PROMETHEUS, value: Prometheus }
|
- { name: DS_PROMETHEUS, value: Prometheus }
|
||||||
- { name: VAR_REPLICATIONDESTNAME, value: .*-dst }
|
- { name: VAR_REPLICATIONDESTNAME, value: .*-dst }
|
||||||
|
|
|
@ -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,13 +51,32 @@ spec:
|
||||||
port: 9633
|
port: 9633
|
||||||
path: /
|
path: /
|
||||||
readiness: *probes
|
readiness: *probes
|
||||||
service:
|
smartctl-exporter-vms:
|
||||||
|
type: daemonset
|
||||||
|
pod:
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- gandalf-01
|
||||||
|
- shadowfax-01
|
||||||
|
containers:
|
||||||
app:
|
app:
|
||||||
controller: smartctl-exporter
|
image: *image
|
||||||
type: LoadBalancer
|
args:
|
||||||
ports:
|
- --smartctl.path=/usr/sbin/smartctl
|
||||||
http:
|
- --smartctl.interval=120s
|
||||||
port: 9633
|
- --web.listen-address=0.0.0.0: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