apiVersion: apps/v1
kind: DaemonSet
metadata:
  annotations:
    deprecated.daemonset.template.generation: "1"
  creationTimestamp: "2026-03-26T14:21:42Z"
  generation: 1
  labels:
    application: smartctl-exporter
  name: smartctl-exporter
  namespace: monitoring
  resourceVersion: "5247"
  uid: 4f675a8b-f749-4f1e-81db-dda719eb5121
spec:
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      application: smartctl-exporter
  template:
    metadata:
      creationTimestamp: null
      labels:
        application: smartctl-exporter
        job: smartctl
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: feature.node.kubernetes.io/cpu-cpuid.HYPERVISOR
                operator: NotIn
                values:
                - "true"
      containers:
      - args:
        - --smartctl.interval=60s
        image: harbor.atmosphere.dev/quay.io/prometheuscommunity/smartctl-exporter:v0.14.0@sha256:cfe22c36d7d2fac48ebf619707305acb65eb0fb670656eb80f356e606d782bc1
        imagePullPolicy: IfNotPresent
        name: exporter
        ports:
        - containerPort: 9633
          name: metrics
          protocol: TCP
        resources: {}
        securityContext:
          privileged: true
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /dev
          name: dev
        - mountPath: /host/sys
          name: sys
          readOnly: true
      dnsPolicy: ClusterFirst
      hostNetwork: true
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      tolerations:
      - operator: Exists
      volumes:
      - hostPath:
          path: /dev
          type: ""
        name: dev
      - hostPath:
          path: /sys
          type: ""
        name: sys
  updateStrategy:
    rollingUpdate:
      maxSurge: 0
      maxUnavailable: 1
    type: RollingUpdate
status:
  currentNumberScheduled: 0
  desiredNumberScheduled: 0
  numberMisscheduled: 0
  numberReady: 0
  observedGeneration: 1
