apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: fd0dffb44e1ac92c691a5977f1de682900489a6edf5afcdc1e58a47c2cdea2de
    configmap-etc-hash: 4fdcabaa8f0688f403c3b90de3ebd06f678423919e0aea28360a1ca2b194d837
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-28T17:46:47Z"
  generateName: cinder-volume-579c66c64b-
  labels:
    application: cinder
    component: volume
    pod-template-hash: 579c66c64b
    release_group: cinder
  name: cinder-volume-579c66c64b-qbcq2
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: cinder-volume-579c66c64b
    uid: 15f46ee7-bff5-4a30-b613-c527699d1c5f
  resourceVersion: "12853"
  uid: 64035a52-d702-45bd-929c-06fbd6a3d60e
spec:
  affinity:
    podAntiAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - podAffinityTerm:
          labelSelector:
            matchExpressions:
            - key: release_group
              operator: In
              values:
              - cinder
            - key: application
              operator: In
              values:
              - cinder
            - key: component
              operator: In
              values:
              - volume
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/cinder-volume.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder:2024.2@sha256:16f1fe26ff5afbffaad71438f6ec0954ebb1627384896a253752e08f7bb8a6bb
    imagePullPolicy: IfNotPresent
    name: cinder-volume
    resources: {}
    securityContext:
      capabilities:
        add:
        - SYS_ADMIN
      privileged: true
      readOnlyRootFilesystem: true
    terminationMessagePath: /var/log/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/cinder-volume.sh
      name: cinder-bin
      readOnly: true
      subPath: cinder-volume.sh
    - mountPath: /tmp/pod-shared
      name: pod-shared
    - mountPath: /var/lib/cinder/conversion
      name: cinder-conversion
    - mountPath: /etc/cinder/cinder.conf
      name: cinder-etc
      readOnly: true
      subPath: cinder.conf
    - mountPath: /etc/cinder/conf/backends.conf
      name: cinder-etc
      readOnly: true
      subPath: backends.conf
    - mountPath: /etc/ceph
      name: etcceph
    - mountPath: /etc/ceph/ceph.conf
      name: ceph-etc
      readOnly: true
      subPath: ceph.conf
    - mountPath: /tmp/client-keyring
      name: ceph-keyring
      readOnly: true
      subPath: key
    - mountPath: /var/lib/cinder/coordination
      name: cinder-coordination
    - mountPath: /etc/sudoers.d/kolla_cinder_sudoers
      name: cinder-etc
      readOnly: true
      subPath: cinder_sudoers
    - mountPath: /etc/sudoers.d/kolla_cinder_volume_sudoers
      name: cinder-etc
      readOnly: true
      subPath: cinder_sudoers
    - mountPath: /etc/cinder/rootwrap.conf
      name: cinder-etc
      readOnly: true
      subPath: rootwrap.conf
    - mountPath: /etc/cinder/rootwrap.d/volume.filters
      name: cinder-etc
      readOnly: true
      subPath: volume.filters
    - mountPath: /var/lib/cinder/tmp
      name: cinder-tmp
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-h8bdp
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  initContainers:
  - command:
    - kubernetes-entrypoint
    env:
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: INTERFACE_NAME
      value: eth0
    - name: PATH
      value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
    - name: DEPENDENCY_SERVICE
      value: openstack:keystone-api,openstack:cinder-api
    - name: DEPENDENCY_JOBS
      value: cinder-db-sync,cinder-ks-user,cinder-ks-endpoints,cinder-rabbit-init,cinder-storage-init
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
    - name: DEPENDENCY_CUSTOM_RESOURCE
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    imagePullPolicy: IfNotPresent
    name: init
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
      runAsUser: 65534
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-h8bdp
      readOnly: true
  - command:
    - /tmp/ceph-keyring.sh
    env:
    - name: RBD_USER
      value: cinder
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder:2024.2@sha256:16f1fe26ff5afbffaad71438f6ec0954ebb1627384896a253752e08f7bb8a6bb
    imagePullPolicy: IfNotPresent
    name: ceph-keyring-placement-rbd1
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /etc/ceph
      name: etcceph
    - mountPath: /tmp/ceph-keyring.sh
      name: cinder-bin
      readOnly: true
      subPath: ceph-keyring.sh
    - mountPath: /tmp/client-keyring
      name: ceph-keyring
      readOnly: true
      subPath: key
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-h8bdp
      readOnly: true
  - command:
    - chown
    - -R
    - 'cinder:'
    - /var/lib/cinder/coordination
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder:2024.2@sha256:16f1fe26ff5afbffaad71438f6ec0954ebb1627384896a253752e08f7bb8a6bb
    imagePullPolicy: IfNotPresent
    name: ceph-coordination-volume-perms
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /var/lib/cinder/coordination
      name: cinder-coordination
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-h8bdp
      readOnly: true
  - command:
    - /tmp/retrieve-internal-tenant.sh
    env:
    - name: OS_IDENTITY_API_VERSION
      value: "3"
    - name: OS_AUTH_URL
      valueFrom:
        secretKeyRef:
          key: OS_AUTH_URL
          name: cinder-keystone-admin
    - name: OS_REGION_NAME
      valueFrom:
        secretKeyRef:
          key: OS_REGION_NAME
          name: cinder-keystone-admin
    - name: OS_INTERFACE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: cinder-keystone-admin
    - name: OS_ENDPOINT_TYPE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: cinder-keystone-admin
    - name: OS_PROJECT_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_DOMAIN_NAME
          name: cinder-keystone-admin
    - name: OS_PROJECT_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_NAME
          name: cinder-keystone-admin
    - name: OS_USER_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_USER_DOMAIN_NAME
          name: cinder-keystone-admin
    - name: OS_USERNAME
      valueFrom:
        secretKeyRef:
          key: OS_USERNAME
          name: cinder-keystone-admin
    - name: OS_PASSWORD
      valueFrom:
        secretKeyRef:
          key: OS_PASSWORD
          name: cinder-keystone-admin
    - name: OS_DEFAULT_DOMAIN
      valueFrom:
        secretKeyRef:
          key: OS_DEFAULT_DOMAIN
          name: cinder-keystone-admin
    - name: INTERNAL_PROJECT_NAME
      value: internal_cinder
    - name: INTERNAL_USER_NAME
      value: internal_cinder
    - name: SERVICE_OS_REGION_NAME
      valueFrom:
        secretKeyRef:
          key: OS_REGION_NAME
          name: cinder-keystone-user
    - name: SERVICE_OS_PROJECT_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_DOMAIN_NAME
          name: cinder-keystone-user
    - name: SERVICE_OS_PROJECT_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_NAME
          name: cinder-keystone-user
    - name: SERVICE_OS_USER_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_USER_DOMAIN_NAME
          name: cinder-keystone-user
    - name: SERVICE_OS_USERNAME
      valueFrom:
        secretKeyRef:
          key: OS_USERNAME
          name: cinder-keystone-user
    - name: SERVICE_OS_PASSWORD
      valueFrom:
        secretKeyRef:
          key: OS_PASSWORD
          name: cinder-keystone-user
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:2024.2@sha256:38d216a861504333c710a4770897bf20c32176c3404b2872b07ff95e283896d3
    imagePullPolicy: IfNotPresent
    name: init-cinder-conf
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/retrieve-internal-tenant.sh
      name: cinder-bin
      readOnly: true
      subPath: retrieve-internal-tenant.sh
    - mountPath: /tmp/pod-shared
      name: pod-shared
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-h8bdp
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: cinder-volume
  serviceAccountName: cinder-volume
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - emptyDir: {}
    name: pod-tmp
  - configMap:
      defaultMode: 365
      name: cinder-bin
    name: cinder-bin
  - name: cinder-etc
    secret:
      defaultMode: 292
      secretName: cinder-etc
  - emptyDir: {}
    name: pod-shared
  - emptyDir: {}
    name: cinder-conversion
  - emptyDir: {}
    name: etcceph
  - configMap:
      defaultMode: 292
      name: ceph-etc
    name: ceph-etc
  - name: ceph-keyring
    secret:
      defaultMode: 420
      secretName: cinder-volume-rbd-keyring
  - emptyDir: {}
    name: cinder-coordination
  - emptyDir: {}
    name: cinder-tmp
  - name: kube-api-access-h8bdp
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          expirationSeconds: 3607
          path: token
      - configMap:
          items:
          - key: ca.crt
            path: ca.crt
          name: kube-root-ca.crt
      - downwardAPI:
          items:
          - fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
            path: namespace
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T17:51:11Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T17:51:12Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T17:51:12Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T17:46:47Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://d5a55fa5f56607fb6680df739d9db226750ed949220dbf862dcaca8fa290ba70
    image: sha256:d43044401ed9b1baa1685e4b0bd800423729eadf5b43728b8a5ff6e72242bbbc
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder@sha256:16f1fe26ff5afbffaad71438f6ec0954ebb1627384896a253752e08f7bb8a6bb
    lastState: {}
    name: cinder-volume
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-28T17:51:11Z"
  hostIP: 199.19.213.114
  initContainerStatuses:
  - containerID: containerd://3a8028caca4daecc649fd9f945eaef5a4fa66708399fdef670d3903ddaf90567
    image: sha256:d656bd5737950b86b0ecff4b0206024769c78ea55e2f9f4c840c3cc2a10caaf8
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://3a8028caca4daecc649fd9f945eaef5a4fa66708399fdef670d3903ddaf90567
        exitCode: 0
        finishedAt: "2026-04-28T17:51:00Z"
        reason: Completed
        startedAt: "2026-04-28T17:50:58Z"
  - containerID: containerd://e67e8e873fcc08b829d7d5fcdb305c6392d131a0af07c0b77cf051bcf24ed491
    image: sha256:d43044401ed9b1baa1685e4b0bd800423729eadf5b43728b8a5ff6e72242bbbc
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder@sha256:16f1fe26ff5afbffaad71438f6ec0954ebb1627384896a253752e08f7bb8a6bb
    lastState: {}
    name: ceph-keyring-placement-rbd1
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://e67e8e873fcc08b829d7d5fcdb305c6392d131a0af07c0b77cf051bcf24ed491
        exitCode: 0
        finishedAt: "2026-04-28T17:51:01Z"
        reason: Completed
        startedAt: "2026-04-28T17:51:01Z"
  - containerID: containerd://c4e1a37201ad6a60418a75521a28997579cfc8e73729895ce6614847623c1f8e
    image: sha256:d43044401ed9b1baa1685e4b0bd800423729eadf5b43728b8a5ff6e72242bbbc
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder@sha256:16f1fe26ff5afbffaad71438f6ec0954ebb1627384896a253752e08f7bb8a6bb
    lastState: {}
    name: ceph-coordination-volume-perms
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://c4e1a37201ad6a60418a75521a28997579cfc8e73729895ce6614847623c1f8e
        exitCode: 0
        finishedAt: "2026-04-28T17:51:02Z"
        reason: Completed
        startedAt: "2026-04-28T17:51:02Z"
  - containerID: containerd://9d54da583fc9d2f334278424299edbd081e21b074f1ed0f95a5f3d9ee7a830da
    image: sha256:8a5f7e679a4899dfd1f1e3fc2fef829d4f4fa5199cf874d416f4d0b68ad57dc2
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:38d216a861504333c710a4770897bf20c32176c3404b2872b07ff95e283896d3
    lastState: {}
    name: init-cinder-conf
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://9d54da583fc9d2f334278424299edbd081e21b074f1ed0f95a5f3d9ee7a830da
        exitCode: 0
        finishedAt: "2026-04-28T17:51:10Z"
        reason: Completed
        startedAt: "2026-04-28T17:51:03Z"
  phase: Running
  podIP: 10.0.0.78
  podIPs:
  - ip: 10.0.0.78
  qosClass: BestEffort
  startTime: "2026-04-28T17:46:47Z"
