apiVersion: apps/v1
kind: StatefulSet
metadata:
  creationTimestamp: "2026-04-06T12:21:06Z"
  generation: 4
  name: nova-api
  namespace: openstack
  ownerReferences:
  - apiVersion: nova.openstack.org/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: NovaAPI
    name: nova-api
    uid: 81b484cd-10cb-4915-8429-7fbcb1833824
  resourceVersion: "52437"
  uid: e91ce631-b398-4b42-a235-520ffa319b19
spec:
  persistentVolumeClaimRetentionPolicy:
    whenDeleted: Retain
    whenScaled: Retain
  podManagementPolicy: Parallel
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      service: nova-api
  serviceName: ""
  template:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[]'
      creationTimestamp: null
      labels:
        service: nova-api
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: service
                  operator: In
                  values:
                  - nova-api
              topologyKey: kubernetes.io/hostname
            weight: 100
      containers:
      - args:
        - --single-child
        - --
        - /bin/sh
        - -c
        - /usr/bin/tail -n+1 -F /var/log/nova/nova-api.log 2>/dev/null
        command:
        - /usr/bin/dumb-init
        env:
        - name: CONFIG_HASH
          value: nbchc7h556h5bdh88h64fhc5h66bh86h5dhcbh54bh58fh68bh569h5dfh594hdch567h547hc4h595h64hfdh5bfhf6h5h64ch56bh5b8h64ch685q
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: 38.102.83.94:5001/podified-master-centos10/openstack-nova-api:watcher_latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 10
          httpGet:
            path: /
            port: 8774
            scheme: HTTPS
          periodSeconds: 30
          successThreshold: 1
          timeoutSeconds: 30
        name: nova-api-log
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /
            port: 8774
            scheme: HTTPS
          periodSeconds: 18
          successThreshold: 1
          timeoutSeconds: 18
        resources: {}
        securityContext:
          runAsUser: 42436
        startupProbe:
          failureThreshold: 6
          httpGet:
            path: /
            port: 8774
            scheme: HTTPS
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /var/log/nova
          name: logs
      - args:
        - -c
        - /usr/local/bin/kolla_start
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: nbchc7h556h5bdh88h64fhc5h66bh86h5dhcbh54bh58fh68bh569h5dfh594hdch567h547hc4h595h64hfdh5bfhf6h5h64ch56bh5b8h64ch685q
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: 38.102.83.94:5001/podified-master-centos10/openstack-nova-api:watcher_latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 10
          httpGet:
            path: /
            port: 8774
            scheme: HTTPS
          periodSeconds: 30
          successThreshold: 1
          timeoutSeconds: 30
        name: nova-api-api
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /
            port: 8774
            scheme: HTTPS
          periodSeconds: 18
          successThreshold: 1
          timeoutSeconds: 18
        resources: {}
        securityContext:
          runAsUser: 42436
        startupProbe:
          failureThreshold: 6
          httpGet:
            path: /
            port: 8774
            scheme: HTTPS
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /var/lib/openstack/config
          name: config-data
        - mountPath: /var/log/nova
          name: logs
        - mountPath: /var/lib/kolla/config_files/config.json
          name: config-data
          subPath: nova-api-config.json
        - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
          name: combined-ca-bundle
          readOnly: true
          subPath: tls-ca-bundle.pem
        - mountPath: /var/lib/config-data/tls/certs/internal.crt
          name: internal-tls-certs
          readOnly: true
          subPath: tls.crt
        - mountPath: /var/lib/config-data/tls/private/internal.key
          name: internal-tls-certs
          readOnly: true
          subPath: tls.key
        - mountPath: /var/lib/config-data/tls/certs/public.crt
          name: public-tls-certs
          readOnly: true
          subPath: tls.crt
        - mountPath: /var/lib/config-data/tls/private/public.key
          name: public-tls-certs
          readOnly: true
          subPath: tls.key
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: nova-nova
      serviceAccountName: nova-nova
      terminationGracePeriodSeconds: 30
      volumes:
      - name: config-data
        secret:
          defaultMode: 416
          secretName: nova-api-config-data
      - emptyDir: {}
        name: logs
      - name: combined-ca-bundle
        secret:
          defaultMode: 292
          secretName: combined-ca-bundle
      - name: internal-tls-certs
        secret:
          defaultMode: 256
          secretName: cert-nova-internal-svc
      - name: public-tls-certs
        secret:
          defaultMode: 256
          secretName: cert-nova-public-svc
  updateStrategy:
    rollingUpdate:
      partition: 0
    type: RollingUpdate
status:
  availableReplicas: 1
  collisionCount: 0
  currentReplicas: 1
  currentRevision: nova-api-77c77ddcb8
  observedGeneration: 4
  readyReplicas: 1
  replicas: 1
  updateRevision: nova-api-77c77ddcb8
  updatedReplicas: 1
