apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-05-20T18:26:29Z"
  generateName: openstack-exporter-8668fcf64f-
  labels:
    application: openstack-exporter
    pod-template-hash: 8668fcf64f
  name: openstack-exporter-8668fcf64f-d5jbd
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: openstack-exporter-8668fcf64f
    uid: f5f95e51-8ba8-4a89-9939-5e485b78d955
  resourceVersion: "28358"
  uid: 74feeb11-7cec-43ca-a545-410aa7962e60
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
    - -d neutron-l3_agent_of_router
    - -d neutron-floating_ip
    - -d neutron-floating_ips
    - -d neutron-floating_ips_associated_not_active
    - -d neutron-network
    - -d neutron-network_ip_availabilities_total
    - -d neutron-network_ip_availabilities_used
    - -d neutron-networks
    - -d neutron-port
    - -d neutron-ports
    - -d neutron-ports_lb_not_active
    - -d neutron-ports_no_ips
    - -d neutron-quota_floatingip
    - -d neutron-quota_network
    - -d neutron-quota_port
    - -d neutron-quota_rbac_policy
    - -d neutron-quota_router
    - -d neutron-quota_security_group
    - -d neutron-quota_security_group_rule
    - -d neutron-quota_subnet
    - -d neutron-quota_subnetpool
    - -d neutron-router
    - -d neutron-routers
    - -d neutron-routers_not_active
    - -d neutron-security_groups
    - -d neutron-subnet
    - -d neutron-subnets
    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-hsgkt
      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:0286188908b31b43129c11f570a3d12ba0edc3da3fb5cec2446642db875ae647
    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-hsgkt
      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-hsgkt
    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-20T18:26:31Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-20T18:26:33Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-20T18:26:33Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-20T18:26:29Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://c648499be1aa26cf2d02cdad01a5e4bf4b84a0b9e01917e9662a5b988a618072
    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-20T18:26:32Z"
  hostIP: 199.204.45.242
  initContainerStatuses:
  - containerID: containerd://12a061d010b904b2ef3d5a04874fa3e99e0629797085430f3a95ca06a83d67f1
    image: sha256:f29b78968be6fdfe2f64543d28d12469a33aea9b0101dd1d9a4240a1d6f513b6
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:0286188908b31b43129c11f570a3d12ba0edc3da3fb5cec2446642db875ae647
    lastState: {}
    name: build-config
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://12a061d010b904b2ef3d5a04874fa3e99e0629797085430f3a95ca06a83d67f1
        exitCode: 0
        finishedAt: "2026-05-20T18:26:30Z"
        reason: Completed
        startedAt: "2026-05-20T18:26:30Z"
  phase: Running
  podIP: 10.0.0.10
  podIPs:
  - ip: 10.0.0.10
  qosClass: BestEffort
  startTime: "2026-05-20T18:26:29Z"
