2021-12-12 17:27:04 -05:00
|
|
|
image:
|
2023-11-17 05:22:57 -05:00
|
|
|
repository: ghcr.io/analogj/scrutiny
|
2021-12-12 17:27:04 -05:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-17 05:22:57 -05:00
|
|
|
tag: v0.7.2-omnibus@sha256:dd3d4df5f5bced5a1932ca77f2dfe4dd2b7f2c1124996c6c061b7f7fc47750f9
|
2021-12-12 17:27:04 -05:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
targetPort: 8080
|
|
|
|
port: 10151
|
|
|
|
persistence:
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
enabled: true
|
2022-06-15 16:57:07 -04:00
|
|
|
mountPath: "/opt/scrutiny/config"
|
|
|
|
influxdb:
|
2021-12-13 16:34:06 -05:00
|
|
|
enabled: true
|
2022-06-15 16:57:07 -04:00
|
|
|
mountPath: "/opt/scrutiny/influxdb"
|
2021-12-12 17:27:04 -05:00
|
|
|
udev:
|
2021-12-18 14:25:00 -05:00
|
|
|
enabled: true
|
2021-12-12 17:27:04 -05:00
|
|
|
type: hostPath
|
2021-12-18 14:25:00 -05:00
|
|
|
hostPath: "/run/udev"
|
|
|
|
mountPath: "/run/udev"
|
2021-12-12 17:27:04 -05:00
|
|
|
readOnly: true
|
2022-08-08 17:25:02 -04:00
|
|
|
portal:
|
2023-04-11 06:07:17 -04:00
|
|
|
open:
|
|
|
|
enabled: true
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
privileged: true
|
|
|
|
allowPrivilegeEscalation: true
|
|
|
|
capabilities:
|
|
|
|
# RawIO is for HDDs
|
|
|
|
# SYS_ADMIN is for NVMEs
|
|
|
|
add:
|
|
|
|
- SYS_RAWIO
|
|
|
|
- SYS_ADMIN
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/api/health"
|
|
|
|
readiness:
|
|
|
|
path: "/api/health"
|
|
|
|
startup:
|
|
|
|
path: "/api/health"
|
|
|
|
env:
|
|
|
|
COLLECTOR_CRON_SCHEDULE: "0 0 * * *"
|
|
|
|
COLLECTOR_HOST_ID: "TrueNAS"
|