scrub
This commit is contained in:
parent
6b09a3b038
commit
427795e26d
1 changed files with 7 additions and 12 deletions
|
@ -32,10 +32,13 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
app:
|
app:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/onedr0p/kubanetics
|
repository: ghcr.io/aarnaud/talos-debug-tools
|
||||||
tag: 2024.6.0@sha256:899a6c65f45ef6b427c445025f9268076ebc77525234c2be7345b38c9d5521cd
|
tag: latest-6.6.29
|
||||||
env:
|
command: ["/bin/bash", "-c"]
|
||||||
SCRIPT_NAME: zfs-scrub.sh
|
args:
|
||||||
|
- |
|
||||||
|
# Trim filesystems
|
||||||
|
chroot /host /usr/local/sbin/zpool scrub nahar
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -61,14 +64,6 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: *app
|
app.kubernetes.io/name: *app
|
||||||
persistence:
|
persistence:
|
||||||
zfs-scrub:
|
|
||||||
type: configMap
|
|
||||||
name: zfs-scrub-configmap
|
|
||||||
defaultMode: 0775
|
|
||||||
globalMounts:
|
|
||||||
- path: /app/zfs-scrub.sh
|
|
||||||
subPath: zfs-scrub.sh
|
|
||||||
readOnly: true
|
|
||||||
netfs:
|
netfs:
|
||||||
type: hostPath
|
type: hostPath
|
||||||
hostPath: /sys
|
hostPath: /sys
|
||||||
|
|
Loading…
Reference in a new issue