apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 363dc0426e34bc68c7c5e6f5e924543ceedc7e0730d4d29a21d25c365695472d
    configmap-etc-hash: 007914fb1ae8c4225c65208fa55bb64263c3e415153f0ed63f25db3556ef0c75
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-21T17:38:05Z"
  generateName: libvirt-libvirt-default-
  labels:
    application: libvirt
    component: libvirt
    controller-revision-hash: 6d97dd8b95
    pod-template-generation: "1"
    release_group: libvirt
  name: libvirt-libvirt-default-4zvqk
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: libvirt-libvirt-default
    uid: def13d05-d3a3-46b7-bc69-9ab636b3cbaf
  resourceVersion: "19736"
  uid: 85651c25-b657-4c09-b2a0-06426b937eb8
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - env:
    - name: API_ISSUER_KIND
      value: Issuer
    - name: API_ISSUER_NAME
      value: libvirt-api
    - name: VNC_ISSUER_KIND
      value: Issuer
    - name: VNC_ISSUER_NAME
      value: libvirt-vnc
    - name: POD_UID
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.uid
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: POD_NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: POD_IP
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: status.podIP
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirt-tls-sidecar:v1.0.0@sha256:b0c5b8ea65fa007b2efbedf75fe8b54981173929e80b921fd4c5847dadb560a6
    imagePullPolicy: IfNotPresent
    name: tls-sidecar
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/pki/qemu
      name: etc-pki-qemu
    - mountPath: /etc/pki/CA
      name: etc-pki-ca
    - mountPath: /etc/pki/libvirt
      name: etc-pki-libvirt
    - mountPath: /etc/pki/libvirt-vnc
      name: etc-pki-libvirt-vnc
    - mountPath: /run/libvirt
      name: run-libvirt
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-68mcm
      readOnly: true
  - command:
    - /tmp/libvirt.sh
    env:
    - name: CEPH_CINDER_USER
      value: cinder
    - name: LIBVIRT_CEPH_CINDER_SECRET_UUID
      value: 457eb676-33da-42ec-9a8c-9293d545c337
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirtd:zed@sha256:04c0bc370b47a8aa10d64ee54e3b83b9c4e32cf7719a67113d726f2b50e1db5d
    imagePullPolicy: IfNotPresent
    lifecycle:
      postStart:
        exec:
          command:
          - /tmp/wait-for-libvirt.sh
      preStop:
        exec:
          command:
          - bash
          - -c
          - kill $(cat /var/run/libvirtd.pid)
    livenessProbe:
      exec:
        command:
        - bash
        - -c
        - /usr/bin/virsh connect
      failureThreshold: 3
      initialDelaySeconds: 30
      periodSeconds: 60
      successThreshold: 1
      timeoutSeconds: 5
    name: libvirt
    readinessProbe:
      exec:
        command:
        - bash
        - -c
        - /usr/bin/virsh connect
      failureThreshold: 3
      initialDelaySeconds: 15
      periodSeconds: 60
      successThreshold: 1
      timeoutSeconds: 5
    resources: {}
    securityContext:
      privileged: true
      readOnlyRootFilesystem: false
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/pki/qemu
      name: etc-pki-qemu
    - mountPath: /etc/pki/CA
      name: etc-pki-ca
    - mountPath: /etc/pki/libvirt
      name: etc-pki-libvirt
    - mountPath: /etc/pki/libvirt-vnc
      name: etc-pki-libvirt-vnc
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/libvirt.sh
      name: libvirt-bin
      readOnly: true
      subPath: libvirt.sh
    - mountPath: /tmp/wait-for-libvirt.sh
      name: libvirt-bin
      readOnly: true
      subPath: wait-for-libvirt.sh
    - mountPath: /etc/libvirt/libvirtd.conf
      name: pod-shared
      readOnly: true
      subPath: libvirtd.conf
    - mountPath: /etc/libvirt/qemu.conf
      name: libvirt-etc
      readOnly: true
      subPath: qemu.conf
    - mountPath: /etc/libvirt/qemu
      name: etc-libvirt-qemu
    - mountPath: /lib/modules
      name: libmodules
      readOnly: true
    - mountPath: /var/lib/libvirt
      mountPropagation: Bidirectional
      name: var-lib-libvirt
    - mountPath: /var/lib/nova
      mountPropagation: Bidirectional
      name: var-lib-nova
    - mountPath: /run
      name: run
    - mountPath: /dev
      name: dev
    - mountPath: /sys/fs/cgroup
      name: cgroup
    - mountPath: /var/log/libvirt
      name: logs
    - mountPath: /etc/machine-id
      name: machine-id
      readOnly: true
    - mountPath: /etc/ceph
      mountPropagation: Bidirectional
      name: etcceph
    - mountPath: /tmp/client-keyring
      name: ceph-keyring
      readOnly: true
      subPath: key
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-68mcm
      readOnly: true
  - args:
    - --libvirt.uri
    - /run/libvirt/libvirt-sock-ro
    image: harbor.atmosphere.dev/ghcr.io/inovex/prometheus-libvirt-exporter:2.2.0
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /
        port: metrics
        scheme: HTTP
      initialDelaySeconds: 30
      periodSeconds: 60
      successThreshold: 1
      timeoutSeconds: 5
    name: libvirt-exporter
    ports:
    - containerPort: 9177
      hostPort: 9177
      name: metrics
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /
        port: metrics
        scheme: HTTP
      initialDelaySeconds: 15
      periodSeconds: 60
      successThreshold: 1
      timeoutSeconds: 5
    resources: {}
    securityContext:
      privileged: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /run
      mountPropagation: Bidirectional
      name: run
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-68mcm
      readOnly: true
  dnsPolicy: ClusterFirstWithHostNet
  enableServiceLinks: true
  hostIPC: true
  hostNetwork: true
  hostPID: 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
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
      value: '[{"labels":{"application":"neutron","component":"neutron-ovs-agent"},"requireSameNode":true}]'
    - 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-68mcm
      readOnly: true
  - command:
    - /tmp/init-dynamic-options.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirtd:zed@sha256:04c0bc370b47a8aa10d64ee54e3b83b9c4e32cf7719a67113d726f2b50e1db5d
    imagePullPolicy: IfNotPresent
    name: init-dynamic-options
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      readOnlyRootFilesystem: true
      runAsNonRoot: true
      runAsUser: 65534
    terminationMessagePath: /var/log/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/pod-shared
      name: pod-shared
    - mountPath: /tmp/init-dynamic-options.sh
      name: libvirt-bin
      readOnly: true
      subPath: init-dynamic-options.sh
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-68mcm
      readOnly: true
  - command:
    - /tmp/ceph-admin-keyring.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirtd:zed@sha256:04c0bc370b47a8aa10d64ee54e3b83b9c4e32cf7719a67113d726f2b50e1db5d
    imagePullPolicy: IfNotPresent
    name: ceph-admin-keyring-placement
    resources: {}
    securityContext:
      readOnlyRootFilesystem: false
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /etc/ceph
      name: etcceph
    - mountPath: /tmp/ceph-admin-keyring.sh
      name: libvirt-bin
      readOnly: true
      subPath: ceph-admin-keyring.sh
    - mountPath: /tmp/client-keyring
      name: ceph-keyring
      readOnly: true
      subPath: key
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-68mcm
      readOnly: true
  - command:
    - /tmp/ceph-keyring.sh
    env:
    - name: CEPH_CINDER_USER
      value: cinder
    - name: LIBVIRT_CEPH_CINDER_SECRET_UUID
      value: 457eb676-33da-42ec-9a8c-9293d545c337
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirtd:zed@sha256:04c0bc370b47a8aa10d64ee54e3b83b9c4e32cf7719a67113d726f2b50e1db5d
    imagePullPolicy: IfNotPresent
    name: ceph-keyring-placement
    resources: {}
    securityContext:
      readOnlyRootFilesystem: false
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /etc/ceph
      name: etcceph
    - mountPath: /tmp/ceph-keyring.sh
      name: libvirt-bin
      readOnly: true
      subPath: ceph-keyring.sh
    - mountPath: /etc/ceph/ceph.conf.template
      name: ceph-etc
      readOnly: true
      subPath: ceph.conf
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-68mcm
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-compute-node: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 0
  serviceAccount: libvirt
  serviceAccountName: libvirt
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/disk-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/memory-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/pid-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/unschedulable
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/network-unavailable
    operator: Exists
  volumes:
  - hostPath:
      path: /etc/pki/qemu
      type: ""
    name: etc-pki-qemu
  - emptyDir: {}
    name: etc-pki-ca
  - emptyDir: {}
    name: etc-pki-libvirt
  - hostPath:
      path: /etc/pki/libvirt-vnc
      type: ""
    name: etc-pki-libvirt-vnc
  - emptyDir: {}
    name: pod-tmp
  - configMap:
      defaultMode: 365
      name: libvirt-libvirt-default-bin
    name: libvirt-bin
  - name: libvirt-etc
    secret:
      defaultMode: 292
      secretName: libvirt-libvirt-default-etc
  - hostPath:
      path: /var/lib/openstack-helm/compute/libvirt
      type: ""
    name: etcceph
  - configMap:
      defaultMode: 292
      name: ceph-etc
    name: ceph-etc
  - name: ceph-keyring
    secret:
      defaultMode: 420
      secretName: pvc-ceph-client-key
  - hostPath:
      path: /lib/modules
      type: ""
    name: libmodules
  - hostPath:
      path: /var/lib/libvirt
      type: ""
    name: var-lib-libvirt
  - hostPath:
      path: /var/lib/nova
      type: ""
    name: var-lib-nova
  - hostPath:
      path: /run
      type: ""
    name: run
  - hostPath:
      path: /run/libvirt
      type: ""
    name: run-libvirt
  - hostPath:
      path: /dev
      type: ""
    name: dev
  - hostPath:
      path: /var/log/libvirt
      type: ""
    name: logs
  - hostPath:
      path: /sys/fs/cgroup
      type: ""
    name: cgroup
  - hostPath:
      path: /etc/machine-id
      type: ""
    name: machine-id
  - hostPath:
      path: /etc/libvirt/qemu
      type: ""
    name: etc-libvirt-qemu
  - hostPath:
      path: /etc/modprobe.d
      type: ""
    name: etc-modprobe-d
  - hostPath:
      path: /
      type: Directory
    name: host-rootfs
  - emptyDir: {}
    name: pod-shared
  - name: kube-api-access-68mcm
    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-21T17:45:19Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-21T17:46:06Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-21T17:46:06Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-21T17:38:05Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://efbedf25ddd7e1546fe531155c56d83285601eb16b977b72fc15d7aba1b26134
    image: sha256:bd08df147ade0b0490c9c767c77dc77560ac60202a29bc19475439ff9765ad94
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirtd@sha256:04c0bc370b47a8aa10d64ee54e3b83b9c4e32cf7719a67113d726f2b50e1db5d
    lastState: {}
    name: libvirt
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-21T17:45:23Z"
  - containerID: containerd://c355f8d6d7b2dad4113cbd81e7d69e867ceffa1b4422e370703c9fee0535fb8d
    image: harbor.atmosphere.dev/ghcr.io/inovex/prometheus-libvirt-exporter:2.2.0
    imageID: harbor.atmosphere.dev/ghcr.io/inovex/prometheus-libvirt-exporter@sha256:91bb180945199d7443bf271552be8e85a7519a065b6e49f634f78e3d4272de5b
    lastState: {}
    name: libvirt-exporter
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-21T17:45:29Z"
  - containerID: containerd://8b719ff0e2d98584d048b64acf5ea52841f908231d8b7f97e99364606e74e8f8
    image: sha256:93728fcee0a3b69ff3e275f888b22c81913e728028768e6817cbbd6447ed53ae
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirt-tls-sidecar@sha256:b0c5b8ea65fa007b2efbedf75fe8b54981173929e80b921fd4c5847dadb560a6
    lastState: {}
    name: tls-sidecar
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-21T17:45:23Z"
  hostIP: 199.19.213.60
  initContainerStatuses:
  - containerID: containerd://d058a0647cb359ecab6b74b9e1be2cb944a93973351ac2143c1976088825bdf9
    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://d058a0647cb359ecab6b74b9e1be2cb944a93973351ac2143c1976088825bdf9
        exitCode: 0
        finishedAt: "2026-04-21T17:45:07Z"
        reason: Completed
        startedAt: "2026-04-21T17:38:06Z"
  - containerID: containerd://097cfc880303ad10a3db0a9166d427d07b5d986fc00579d6bbcfb6ca2472101e
    image: sha256:bd08df147ade0b0490c9c767c77dc77560ac60202a29bc19475439ff9765ad94
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirtd@sha256:04c0bc370b47a8aa10d64ee54e3b83b9c4e32cf7719a67113d726f2b50e1db5d
    lastState: {}
    name: init-dynamic-options
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://097cfc880303ad10a3db0a9166d427d07b5d986fc00579d6bbcfb6ca2472101e
        exitCode: 0
        finishedAt: "2026-04-21T17:45:14Z"
        reason: Completed
        startedAt: "2026-04-21T17:45:14Z"
  - containerID: containerd://931e15fa3a1eea54dbfbd690d5aeb82410478e46e31aede0379fd1cc82fba5cd
    image: sha256:bd08df147ade0b0490c9c767c77dc77560ac60202a29bc19475439ff9765ad94
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirtd@sha256:04c0bc370b47a8aa10d64ee54e3b83b9c4e32cf7719a67113d726f2b50e1db5d
    lastState: {}
    name: ceph-admin-keyring-placement
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://931e15fa3a1eea54dbfbd690d5aeb82410478e46e31aede0379fd1cc82fba5cd
        exitCode: 0
        finishedAt: "2026-04-21T17:45:16Z"
        reason: Completed
        startedAt: "2026-04-21T17:45:16Z"
  - containerID: containerd://02e6d852e1b0a30bc254401a11d666d023ee330512d2a9d2f5bec38b3875938c
    image: sha256:bd08df147ade0b0490c9c767c77dc77560ac60202a29bc19475439ff9765ad94
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/libvirtd@sha256:04c0bc370b47a8aa10d64ee54e3b83b9c4e32cf7719a67113d726f2b50e1db5d
    lastState: {}
    name: ceph-keyring-placement
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://02e6d852e1b0a30bc254401a11d666d023ee330512d2a9d2f5bec38b3875938c
        exitCode: 0
        finishedAt: "2026-04-21T17:45:19Z"
        reason: Completed
        startedAt: "2026-04-21T17:45:17Z"
  phase: Running
  podIP: 199.19.213.60
  podIPs:
  - ip: 199.19.213.60
  qosClass: BestEffort
  startTime: "2026-04-21T17:38:05Z"
