apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "1"
    meta.helm.sh/release-name: nova
    meta.helm.sh/release-namespace: openstack
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-17T01:10:38Z"
  generation: 1
  labels:
    app.kubernetes.io/managed-by: Helm
    application: nova
    component: conductor
    release_group: nova
  name: nova-conductor
  namespace: openstack
  resourceVersion: "17691"
  uid: 9442cece-415b-4ee6-b59c-32d05b27cd7f
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 3
  selector:
    matchLabels:
      application: nova
      component: conductor
      release_group: nova
  strategy:
    rollingUpdate:
      maxSurge: 3
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      annotations:
        configmap-bin-hash: 3f7237cc10e3e4e09b2879d01f0621cae2a1e2e491207d4d136b9a7d7657e0bb
        configmap-etc-hash: 7ba9250909e967ff70b0e76c0fe6bddb5108c806a39c5c844201976456e4741d
        openstackhelm.openstack.org/release_uuid: ""
      creationTimestamp: null
      labels:
        application: nova
        component: conductor
        release_group: nova
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: release_group
                  operator: In
                  values:
                  - nova
                - key: application
                  operator: In
                  values:
                  - nova
                - key: component
                  operator: In
                  values:
                  - conductor
              topologyKey: kubernetes.io/hostname
            weight: 10
      containers:
      - command:
        - /tmp/nova-conductor.sh
        env:
        - name: RPC_PROBE_TIMEOUT
          value: "60"
        - name: RPC_PROBE_RETRIES
          value: "2"
        image: harbor.atmosphere.dev/ghcr.io/vexxhost/nova:main@sha256:4d20ff43a98cfa92485d805f8724266e75c27ed46a4c955681c11dfb94a9995e
        imagePullPolicy: IfNotPresent
        livenessProbe:
          exec:
            command:
            - python
            - /tmp/health-probe.py
            - --config-file
            - /etc/nova/nova.conf
            - --service-queue-name
            - conductor
            - --liveness-probe
          failureThreshold: 3
          initialDelaySeconds: 120
          periodSeconds: 90
          successThreshold: 1
          timeoutSeconds: 70
        name: nova-conductor
        readinessProbe:
          exec:
            command:
            - python
            - /tmp/health-probe.py
            - --config-file
            - /etc/nova/nova.conf
            - --service-queue-name
            - conductor
          failureThreshold: 3
          initialDelaySeconds: 80
          periodSeconds: 90
          successThreshold: 1
          timeoutSeconds: 70
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          readOnlyRootFilesystem: true
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /tmp
          name: pod-tmp
        - mountPath: /tmp/nova-conductor.sh
          name: nova-bin
          readOnly: true
          subPath: nova-conductor.sh
        - mountPath: /tmp/health-probe.py
          name: nova-bin
          readOnly: true
          subPath: health-probe.py
        - 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
      dnsPolicy: ClusterFirst
      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
        - name: DEPENDENCY_CUSTOM_RESOURCE
        image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
        imagePullPolicy: IfNotPresent
        name: init
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          readOnlyRootFilesystem: true
          runAsUser: 65534
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      nodeSelector:
        openstack-control-plane: enabled
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext:
        runAsUser: 42424
      serviceAccount: nova-conductor
      serviceAccountName: nova-conductor
      terminationGracePeriodSeconds: 30
      volumes:
      - emptyDir: {}
        name: pod-tmp
      - configMap:
          defaultMode: 365
          name: nova-bin
        name: nova-bin
      - name: nova-etc
        secret:
          defaultMode: 292
          secretName: nova-etc
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2026-04-17T01:10:38Z"
    lastUpdateTime: "2026-04-17T01:10:38Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2026-04-17T01:10:38Z"
    lastUpdateTime: "2026-04-17T01:16:39Z"
    message: ReplicaSet "nova-conductor-bd8d9974" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1
