apiVersion: apps/v1
kind: DaemonSet
metadata:
  annotations:
    deprecated.daemonset.template.generation: "1"
    meta.helm.sh/release-name: prometheus-smartctl-exporter
    meta.helm.sh/release-namespace: monitoring
  creationTimestamp: "2026-05-25T22:17:52Z"
  generation: 1
  labels:
    app.kubernetes.io/instance: prometheus-smartctl-exporter
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: prometheus-smartctl-exporter
    app.kubernetes.io/version: v0.14.0
    helm.sh/chart: prometheus-smartctl-exporter-0.16.0
    idx: i0
  name: prometheus-smartctl-exporter-0
  namespace: monitoring
  resourceVersion: "5156"
  uid: 7659fd65-da77-4833-8eaf-5cb1a517db0c
spec:
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app.kubernetes.io/instance: prometheus-smartctl-exporter
      app.kubernetes.io/name: prometheus-smartctl-exporter
      idx: i0
  template:
    metadata:
      creationTimestamp: null
      labels:
        app.kubernetes.io/instance: prometheus-smartctl-exporter
        app.kubernetes.io/name: prometheus-smartctl-exporter
        idx: i0
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: feature.node.kubernetes.io/cpu-cpuid.HYPERVISOR
                operator: NotIn
                values:
                - "true"
      containers:
      - args:
        - --smartctl.path=/usr/sbin/smartctl
        - --smartctl.interval=120s
        - --web.listen-address=0.0.0.0:9633
        - --web.telemetry-path=/metrics
        image: harbor.atmosphere.dev/quay.io/prometheuscommunity/smartctl-exporter:v0.14.0
        imagePullPolicy: IfNotPresent
        name: main
        ports:
        - containerPort: 9633
          name: http
          protocol: TCP
        resources: {}
        securityContext:
          privileged: true
          runAsUser: 0
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /hostdev
          name: dev
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: prometheus-smartctl-exporter
      serviceAccountName: prometheus-smartctl-exporter
      terminationGracePeriodSeconds: 30
      tolerations:
      - effect: NoSchedule
        operator: Exists
      volumes:
      - hostPath:
          path: /dev
          type: ""
        name: dev
  updateStrategy:
    rollingUpdate:
      maxSurge: 0
      maxUnavailable: 1
    type: RollingUpdate
status:
  currentNumberScheduled: 0
  desiredNumberScheduled: 0
  numberMisscheduled: 0
  numberReady: 0
  observedGeneration: 1
