apiVersion: apps/v1
kind: StatefulSet
metadata:
  creationTimestamp: "2026-04-02T14:02:38Z"
  generation: 3
  name: nova-scheduler
  namespace: openstack
  ownerReferences:
  - apiVersion: nova.openstack.org/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: NovaScheduler
    name: nova-scheduler
    uid: d8388ab3-21ec-4354-a04a-55094f207ea9
  resourceVersion: "49082"
  uid: 18311d95-2c48-478e-8021-215223a5777d
spec:
  persistentVolumeClaimRetentionPolicy:
    whenDeleted: Retain
    whenScaled: Retain
  podManagementPolicy: Parallel
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      service: nova-scheduler
  serviceName: ""
  template:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[]'
      creationTimestamp: null
      labels:
        service: nova-scheduler
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: service
                  operator: In
                  values:
                  - nova-scheduler
              topologyKey: kubernetes.io/hostname
            weight: 100
      containers:
      - args:
        - -c
        - /usr/local/bin/kolla_start
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: n97h56ch559h65fh5f6hbfhddh664hfbh98h54bhddh5f7h7ch5f9h5c8h7h65fh698h559h79h688h5bbh77h55ch596h5d6h5c7h55h5b5h658hf4q
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: quay.io/podified-antelope-centos9/openstack-nova-scheduler:current-podified
        imagePullPolicy: IfNotPresent
        livenessProbe:
          exec:
            command:
            - /usr/bin/pgrep
            - -r
            - DRST
            - nova-scheduler
          failureThreshold: 3
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 10
        name: nova-scheduler-scheduler
        readinessProbe:
          exec:
            command:
            - /usr/bin/pgrep
            - -r
            - DRST
            - nova-scheduler
          failureThreshold: 3
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 5
        resources: {}
        securityContext:
          runAsUser: 42436
        startupProbe:
          exec:
            command:
            - /usr/bin/pgrep
            - -r
            - DRST
            - nova-scheduler
          failureThreshold: 6
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /var/lib/openstack/config
          name: config-data
        - mountPath: /var/lib/kolla/config_files/config.json
          name: config-data
          subPath: nova-scheduler-config.json
        - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
          name: combined-ca-bundle
          readOnly: true
          subPath: tls-ca-bundle.pem
      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-scheduler-config-data
      - name: combined-ca-bundle
        secret:
          defaultMode: 292
          secretName: combined-ca-bundle
  updateStrategy:
    rollingUpdate:
      partition: 0
    type: RollingUpdate
status:
  availableReplicas: 1
  collisionCount: 0
  currentReplicas: 1
  currentRevision: nova-scheduler-6b7d494854
  observedGeneration: 3
  readyReplicas: 1
  replicas: 1
  updateRevision: nova-scheduler-6b7d494854
  updatedReplicas: 1
