apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-05-19T01:00:59Z"
  generateName: openstack-exporter-7b4fb78bfc-
  labels:
    application: openstack-exporter
    pod-template-hash: 7b4fb78bfc
  name: openstack-exporter-7b4fb78bfc-nnp7f
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: openstack-exporter-7b4fb78bfc
    uid: 31758be8-e4fb-4f7f-a51a-bd38fa6dd495
  resourceVersion: "27836"
  uid: 64bf0c1f-2cde-485f-92b1-4b815f52ce46
spec:
  containers:
  - args:
    - --endpoint-type
    - internal
    - default
    - --collect-metric-time
    - -d cinder-agent_state
    - -d cinder-limits_backup_max_gb
    - -d cinder-limits_backup_used_gb
    - -d cinder-limits_volume_max_gb
    - -d cinder-limits_volume_used_gb
    - -d cinder-snapshots
    - -d cinder-volume_gb
    - -d cinder-volume_status
    - -d cinder-volume_status_counter
    - -d cinder-volume_type_quota_gigabytes
    - -d cinder-volumes
    - --disable-service.identity
    - --disable-service.image
    - --disable-service.placement
    - --disable-service.compute
    - --disable-service.object-store
    - --disable-service.load-balancer
    - --disable-service.container-infra
    - --disable-service.dns
    - --disable-service.baremetal
    - --disable-service.gnocchi
    - --disable-service.database
    - --disable-service.orchestration
    - --disable-service.network
    env:
    - name: OS_COMPUTE_API_VERSION
      value: "2.87"
    image: harbor.atmosphere.dev/ghcr.io/openstack-exporter/openstack-exporter:1.7.0
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /
        port: 9180
        scheme: HTTP
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    name: openstack-exporter
    ports:
    - containerPort: 9180
      name: metrics
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /
        port: 9180
        scheme: HTTP
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/openstack
      name: openstack-config
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-lfdnw
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  initContainers:
  - args:
    - |
      cat <<EOF > /etc/openstack/clouds.yaml
      ---
      clouds:
        default:
          auth:
            auth_url: "$(OS_AUTH_URL)"
            project_domain_name: "$(OS_PROJECT_DOMAIN_NAME)"
            project_name: "$(OS_PROJECT_NAME)"
            user_domain_name: "$(OS_USER_DOMAIN_NAME)"
            username: "$(OS_USERNAME)"
            password: "$(OS_PASSWORD)"
          region_name: "$(OS_REGION_NAME)"
          interface: "$(OS_INTERFACE)"
          identity_api_version: 3
          identity_interface: "$(OS_INTERFACE)"
      EOF
    command:
    - bash
    - -ec
    envFrom:
    - secretRef:
        name: keystone-keystone-admin
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:2024.2@sha256:8624a0e6c5861c2fa1179ac6b9c59e0fc48cb24fbe51ed863b7efbee829a0da2
    imagePullPolicy: IfNotPresent
    name: build-config
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/openstack
      name: openstack-config
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-lfdnw
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: default
  serviceAccountName: default
  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: openstack-config
  - name: kube-api-access-lfdnw
    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-05-19T01:01:01Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T01:01:30Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T01:01:30Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T01:00:59Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://5ee027505234e2e0814401e595a286bba056502941ac5c370476caea61d39564
    image: harbor.atmosphere.dev/ghcr.io/openstack-exporter/openstack-exporter:1.7.0
    imageID: harbor.atmosphere.dev/ghcr.io/openstack-exporter/openstack-exporter@sha256:e5146a7dd5153c035fd8060899e3504b25557756ef4a4d85860a409247404f97
    lastState: {}
    name: openstack-exporter
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-05-19T01:01:23Z"
  hostIP: 199.204.45.235
  initContainerStatuses:
  - containerID: containerd://17751c8eab85f3c7668d3e1e5488459c8b0e9f651c268a47635f559ee1750a5e
    image: sha256:14ba48f2f864ebcc0c103c3399dea86921600ddbaf4ab2f6f6838d478ac734ea
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:8624a0e6c5861c2fa1179ac6b9c59e0fc48cb24fbe51ed863b7efbee829a0da2
    lastState: {}
    name: build-config
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://17751c8eab85f3c7668d3e1e5488459c8b0e9f651c268a47635f559ee1750a5e
        exitCode: 0
        finishedAt: "2026-05-19T01:01:00Z"
        reason: Completed
        startedAt: "2026-05-19T01:01:00Z"
  phase: Running
  podIP: 10.0.0.19
  podIPs:
  - ip: 10.0.0.19
  qosClass: BestEffort
  startTime: "2026-05-19T01:00:59Z"
