apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-11-23T16:35:49Z"
  generateName: openstack-exporter-f6bc786c8-
  labels:
    application: openstack-exporter
    pod-template-hash: f6bc786c8
  name: openstack-exporter-f6bc786c8-4c2f2
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: openstack-exporter-f6bc786c8
    uid: 4f592ddd-e2d2-4265-a243-37663e48d36e
  resourceVersion: "30047"
  uid: 183cfaf9-6284-47e8-b8c5-312b0a62238c
spec:
  containers:
  - args:
    - --endpoint-type
    - internal
    - default
    - --collect-metric-time
    - --disable-metric=cinder-agent_state
    - --disable-metric=cinder-limits_backup_max_gb
    - --disable-metric=cinder-limits_backup_used_gb
    - --disable-metric=cinder-limits_volume_max_gb
    - --disable-metric=cinder-limits_volume_used_gb
    - --disable-metric=cinder-snapshots
    - --disable-metric=cinder-volume_gb
    - --disable-metric=cinder-volume_status
    - --disable-metric=cinder-volume_status_counter
    - --disable-metric=cinder-volume_type_quota_gigabytes
    - --disable-metric=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-metric=neutron-l3_agent_of_router
    - --disable-metric=neutron-floating_ip
    - --disable-metric=neutron-floating_ips
    - --disable-metric=neutron-floating_ips_associated_not_active
    - --disable-metric=neutron-network
    - --disable-metric=neutron-network_ip_availabilities_total
    - --disable-metric=neutron-network_ip_availabilities_used
    - --disable-metric=neutron-networks
    - --disable-metric=neutron-port
    - --disable-metric=neutron-ports
    - --disable-metric=neutron-ports_lb_not_active
    - --disable-metric=neutron-ports_no_ips
    - --disable-metric=neutron-quota_floatingip
    - --disable-metric=neutron-quota_network
    - --disable-metric=neutron-quota_port
    - --disable-metric=neutron-quota_rbac_policy
    - --disable-metric=neutron-quota_router
    - --disable-metric=neutron-quota_security_group
    - --disable-metric=neutron-quota_security_group_rule
    - --disable-metric=neutron-quota_subnet
    - --disable-metric=neutron-quota_subnetpool
    - --disable-metric=neutron-router
    - --disable-metric=neutron-routers
    - --disable-metric=neutron-routers_not_active
    - --disable-metric=neutron-security_groups
    - --disable-metric=neutron-subnet
    - --disable-metric=neutron-subnets
    - --disable-metric=neutron-subnets_free
    - --disable-metric=neutron-subnets_total
    - --disable-metric=neutron-subnets_used
    env:
    - name: OS_COMPUTE_API_VERSION
      value: "2.87"
    image: harbor.atmosphere.dev/ghcr.io/openstack-exporter/openstack-exporter:1.7.0@sha256:e5146a7dd5153c035fd8060899e3504b25557756ef4a4d85860a409247404f97
    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-cjzlv
      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.1@sha256:4fbca25f5ffc6d41b244c8ddea4ee89c2366a7c6303dd60a3b1093cd787042a1
    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-cjzlv
      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-cjzlv
    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-11-23T16:35:50Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-11-23T16:35:59Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-11-23T16:35:59Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-11-23T16:35:49Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://734e6a8da317c1c7c586e5e85ef33735c7d86171d511fcb2e62aec06d096e63b
    image: sha256:bb077fb1991cc9af1606ab3cdd29ec27cb0e4aa30bc65876411f2317b343e25a
    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-11-23T16:35:52Z"
  hostIP: 199.204.45.149
  initContainerStatuses:
  - containerID: containerd://f672150f3b7adba3621610fee0929e7a03e75148f28b4e25d6d0263c51d6bedf
    image: sha256:63cd401a369b806a64167ddda25a08085b0cf22543bbb2f503cf11b119a5e9f1
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:4fbca25f5ffc6d41b244c8ddea4ee89c2366a7c6303dd60a3b1093cd787042a1
    lastState: {}
    name: build-config
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://f672150f3b7adba3621610fee0929e7a03e75148f28b4e25d6d0263c51d6bedf
        exitCode: 0
        finishedAt: "2026-11-23T16:35:50Z"
        reason: Completed
        startedAt: "2026-11-23T16:35:50Z"
  phase: Running
  podIP: 10.0.0.181
  podIPs:
  - ip: 10.0.0.181
  qosClass: BestEffort
  startTime: "2026-11-23T16:35:49Z"
