apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-04-23T01:11:19Z"
  generateName: openstack-exporter-78dc58c9d-
  labels:
    application: openstack-exporter
    pod-template-hash: 78dc58c9d
  name: openstack-exporter-78dc58c9d-mvq7p
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: openstack-exporter-78dc58c9d
    uid: 5aa0e415-cfb2-4961-af14-133eaa9e661a
  resourceVersion: "27786"
  uid: 42cd858b-4df6-45e1-a940-d50c982239be
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-vpw6t
      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:2025.2@sha256:ebaf4dcf9809dec181ebe724e6859705ebd41d9353c1264bbc13bab95c5ee962
    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-vpw6t
      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-vpw6t
    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-23T01:11:20Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T01:11:29Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T01:11:29Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T01:11:19Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://d4e6a541c1a0cba5ee18b37ad4a1ced86e534d0184f51fc22f84138d1a825f7c
    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-04-23T01:11:21Z"
  hostIP: 199.204.45.229
  initContainerStatuses:
  - containerID: containerd://b0a23c83274f69425be3b74a73a91826105c4f1dc7b70a3548d13c347ab22217
    image: sha256:77579f93611353289e53a7ca9273ec2b7a9a212e2936ad9ed70acb8f87aa0e2b
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:ebaf4dcf9809dec181ebe724e6859705ebd41d9353c1264bbc13bab95c5ee962
    lastState: {}
    name: build-config
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://b0a23c83274f69425be3b74a73a91826105c4f1dc7b70a3548d13c347ab22217
        exitCode: 0
        finishedAt: "2026-04-23T01:11:20Z"
        reason: Completed
        startedAt: "2026-04-23T01:11:20Z"
  phase: Running
  podIP: 10.0.0.229
  podIPs:
  - ip: 10.0.0.229
  qosClass: BestEffort
  startTime: "2026-04-23T01:11:19Z"
