apiVersion: apps/v1
kind: StatefulSet
metadata:
  creationTimestamp: "2026-04-04T02:50:38Z"
  generation: 1
  labels:
    backend: nfs
    component: cinder-volume
    service: cinder
  name: cinder-volume-nfs
  namespace: openstack
  ownerReferences:
  - apiVersion: cinder.openstack.org/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: CinderVolume
    name: cinder-volume-nfs
    uid: c4500fca-5fed-49d1-901c-60e46a887efd
  resourceVersion: "67715"
  uid: 40e835ca-ce78-42e8-a543-8e0780bae952
spec:
  persistentVolumeClaimRetentionPolicy:
    whenDeleted: Retain
    whenScaled: Retain
  podManagementPolicy: OrderedReady
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      backend: nfs
      component: cinder-volume
      service: cinder
  serviceName: ""
  template:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[{"name":"storage","namespace":"openstack","interface":"storage"}]'
      creationTimestamp: null
      labels:
        backend: nfs
        component: cinder-volume
        service: cinder
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: component
                  operator: In
                  values:
                  - cinder-volume
              topologyKey: kubernetes.io/hostname
            weight: 100
      containers:
      - args:
        - -c
        - /usr/local/bin/kolla_start
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: n586h5d6h648h5bfh95h65bh665h66ch5c5h5f7h5b7hbdh59ch8dh5f9h547h5b9h66bh5f7h59fh696hc9h5d4h78hcdh7bh549h95hf9h5f7h5cfhbdq
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        - name: MALLOC_ARENA_MAX
          value: "1"
        - name: MALLOC_MMAP_THRESHOLD_
          value: "131072"
        - name: MALLOC_TRIM_THRESHOLD_
          value: "262144"
        image: 38.102.83.110:5001/podified-master-centos10/openstack-cinder-volume:watcher_latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /
            port: 8080
            scheme: HTTP
          initialDelaySeconds: 3
          periodSeconds: 3
          successThreshold: 1
          timeoutSeconds: 5
        name: cinder-volume
        resources: {}
        securityContext:
          privileged: true
          runAsUser: 42407
        startupProbe:
          failureThreshold: 12
          httpGet:
            path: /
            port: 8080
            scheme: HTTP
          initialDelaySeconds: 5
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 5
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /etc/machine-id
          name: etc-machine-id
          readOnly: true
        - mountPath: /usr/local/bin/container-scripts
          name: scripts
          readOnly: true
        - mountPath: /var/lib/config-data/merged
          name: config-data
          readOnly: true
        - mountPath: /etc/my.cnf
          name: config-data
          readOnly: true
          subPath: my.cnf
        - mountPath: /var/lib/cinder
          name: var-lib-cinder
        - mountPath: /etc/nvme
          name: etc-nvme
        - mountPath: /etc/iscsi
          name: etc-iscsi
          readOnly: true
        - mountPath: /dev
          name: dev
        - mountPath: /lib/modules
          name: lib-modules
          readOnly: true
        - mountPath: /run
          name: run
        - mountPath: /sys
          name: sys
        - mountPath: /var/locks/openstack/os-brick
          name: var-locks-brick
        - mountPath: /var/locks/openstack/cinder
          name: var-locks-cinder
        - mountPath: /etc/cinder/cinder.conf.d
          name: config-data-custom
          readOnly: true
        - mountPath: /var/lib/kolla/config_files/config.json
          name: config-data
          readOnly: true
          subPath: cinder-volume-config.json
        - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
          name: combined-ca-bundle
          readOnly: true
          subPath: tls-ca-bundle.pem
      - command:
        - /usr/local/bin/container-scripts/healthcheck.py
        - volume
        - /etc/cinder/cinder.conf.d
        image: 38.102.83.110:5001/podified-master-centos10/openstack-cinder-volume:watcher_latest
        imagePullPolicy: IfNotPresent
        name: probe
        resources: {}
        securityContext:
          runAsGroup: 42407
          runAsUser: 42407
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /etc/machine-id
          name: etc-machine-id
          readOnly: true
        - mountPath: /usr/local/bin/container-scripts
          name: scripts
          readOnly: true
        - mountPath: /var/lib/config-data/merged
          name: config-data
          readOnly: true
        - mountPath: /etc/my.cnf
          name: config-data
          readOnly: true
          subPath: my.cnf
        - mountPath: /var/lib/cinder
          name: var-lib-cinder
        - mountPath: /etc/nvme
          name: etc-nvme
        - mountPath: /etc/iscsi
          name: etc-iscsi
          readOnly: true
        - mountPath: /dev
          name: dev
        - mountPath: /lib/modules
          name: lib-modules
          readOnly: true
        - mountPath: /run
          name: run
        - mountPath: /sys
          name: sys
        - mountPath: /var/locks/openstack/os-brick
          name: var-locks-brick
        - mountPath: /var/locks/openstack/cinder
          name: var-locks-cinder
        - mountPath: /etc/cinder/cinder.conf.d
          name: config-data-custom
          readOnly: true
        - mountPath: /var/lib/kolla/config_files/config.json
          name: config-data
          readOnly: true
          subPath: cinder-volume-config.json
        - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
          name: combined-ca-bundle
          readOnly: true
          subPath: tls-ca-bundle.pem
      dnsPolicy: ClusterFirst
      hostPID: true
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: cinder-cinder
      serviceAccountName: cinder-cinder
      terminationGracePeriodSeconds: 30
      volumes:
      - hostPath:
          path: /etc/machine-id
          type: ""
        name: etc-machine-id
      - name: scripts
        secret:
          defaultMode: 493
          secretName: cinder-scripts
      - name: config-data
        secret:
          defaultMode: 420
          secretName: cinder-config-data
      - hostPath:
          path: /var/lib/cinder
          type: DirectoryOrCreate
        name: var-lib-cinder
      - hostPath:
          path: /etc/nvme
          type: DirectoryOrCreate
        name: etc-nvme
      - hostPath:
          path: /etc/iscsi
          type: ""
        name: etc-iscsi
      - hostPath:
          path: /dev
          type: ""
        name: dev
      - hostPath:
          path: /lib/modules
          type: ""
        name: lib-modules
      - hostPath:
          path: /run
          type: ""
        name: run
      - hostPath:
          path: /sys
          type: ""
        name: sys
      - hostPath:
          path: /var/locks/openstack/os-brick
          type: DirectoryOrCreate
        name: var-locks-brick
      - hostPath:
          path: /var/locks/openstack/cinder
          type: DirectoryOrCreate
        name: var-locks-cinder
      - name: config-data-custom
        secret:
          defaultMode: 420
          secretName: cinder-volume-nfs-config-data
      - name: combined-ca-bundle
        secret:
          defaultMode: 292
          secretName: combined-ca-bundle
  updateStrategy:
    rollingUpdate:
      partition: 0
    type: RollingUpdate
status:
  availableReplicas: 1
  collisionCount: 0
  currentReplicas: 1
  currentRevision: cinder-volume-nfs-65b6f6cff8
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
  updateRevision: cinder-volume-nfs-65b6f6cff8
  updatedReplicas: 1
