apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-09-23T12:00:00Z"
  generateName: nova-cell-setup-29836080-
  labels:
    application: nova
    batch.kubernetes.io/controller-uid: 0a4e3ce6-bca9-40ef-86fb-54c3c3128f4c
    batch.kubernetes.io/job-name: nova-cell-setup-29836080
    component: cell-setup
    controller-uid: 0a4e3ce6-bca9-40ef-86fb-54c3c3128f4c
    job-name: nova-cell-setup-29836080
    release_group: nova
  name: nova-cell-setup-29836080-d5bhl
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: nova-cell-setup-29836080
    uid: 0a4e3ce6-bca9-40ef-86fb-54c3c3128f4c
  resourceVersion: "43224"
  uid: 9d3f0055-5fe4-44ec-b1b2-ea27ebae5a3a
spec:
  containers:
  - command:
    - /tmp/cell-setup.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/nova:main@sha256:7904b9c9ce8c07dcc075796237cc800fef0a4b8e2dab835302b86b88b01469e4
    imagePullPolicy: IfNotPresent
    name: nova-cell-setup
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/cell-setup.sh
      name: nova-bin
      readOnly: true
      subPath: cell-setup.sh
    - mountPath: /etc/nova
      name: etcnova
    - mountPath: /etc/nova/nova.conf
      name: nova-etc
      readOnly: true
      subPath: nova.conf
    - mountPath: /etc/nova/policy.yaml
      name: nova-etc
      readOnly: true
      subPath: policy.yaml
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-8gtds
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: 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
      value: openstack:rabbitmq-nova,openstack:percona-xtradb-haproxy,openstack:keystone-api,openstack:nova-api
    - name: DEPENDENCY_JOBS
      value: nova-db-sync,nova-rabbit-init
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
      value: '[{"labels":{"application":"nova","component":"compute"},"requireSameNode":false}]'
    - 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-8gtds
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: OnFailure
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: nova-cell-setup-cron
  serviceAccountName: nova-cell-setup-cron
  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: pod-tmp
  - emptyDir: {}
    name: etcnova
  - name: nova-etc
    secret:
      defaultMode: 292
      secretName: nova-etc
  - configMap:
      defaultMode: 365
      name: nova-bin
    name: nova-bin
  - name: kube-api-access-8gtds
    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-09-23T12:00:05Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-09-23T12:00:18Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-09-23T12:00:18Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-09-23T12:00:00Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://ab7113fb8966f246678524b5257dd4a9dcb550776d27917ed92b82409c67a29e
    image: sha256:982af6cbec3628551013ec8014b92bd3c85b1330e94d3b1e56b4fbb7a827faf9
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/nova@sha256:7904b9c9ce8c07dcc075796237cc800fef0a4b8e2dab835302b86b88b01469e4
    lastState: {}
    name: nova-cell-setup
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://ab7113fb8966f246678524b5257dd4a9dcb550776d27917ed92b82409c67a29e
        exitCode: 0
        finishedAt: "2026-09-23T12:00:18Z"
        reason: Completed
        startedAt: "2026-09-23T12:00:05Z"
  hostIP: 162.253.55.81
  initContainerStatuses:
  - containerID: containerd://22d3be413d7a038c7c28106277861dc77c2e997fd02e42c4c06e9abd2b503f9b
    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://22d3be413d7a038c7c28106277861dc77c2e997fd02e42c4c06e9abd2b503f9b
        exitCode: 0
        finishedAt: "2026-09-23T12:00:04Z"
        reason: Completed
        startedAt: "2026-09-23T12:00:02Z"
  phase: Succeeded
  podIP: 10.0.0.213
  podIPs:
  - ip: 10.0.0.213
  qosClass: BestEffort
  startTime: "2026-09-23T12:00:00Z"
